Upgrading class to PHP5.6, using variadic