Replaced func_get_args() by ...$params (PHP 5.6+).

This commit is contained in:
Dmitry Khomutov 2018-03-02 23:59:35 +07:00
commit 5d9b56d194
No known key found for this signature in database
GPG key ID: EC19426474B37AAC
3 changed files with 18 additions and 14 deletions

View file

@ -278,11 +278,13 @@ class Builder implements LoggerAwareInterface
/**
* Used by this class, and plugins, to execute shell commands.
*
* @param array ...$params
*
* @return boolean
*/
public function executeCommand()
public function executeCommand(...$params)
{
return $this->commandExecutor->executeCommand(func_get_args());
return $this->commandExecutor->executeCommand($params);
}
/**