Replaced func_get_args() by ...$params (PHP 5.6+).
This commit is contained in:
parent
7bbd2e54db
commit
5d9b56d194
3 changed files with 18 additions and 14 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue