1
0
Fork 0

Use func_num_args instead of counting on func_get_args

pull/7641/head^2
Gabriel Caruso 2018-10-14 17:45:44 -03:00 committed by Rob
parent aa6d138bdc
commit a64b652a6b
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class ProcessExecutor
$cwd = realpath(getcwd()); $cwd = realpath(getcwd());
} }
$this->captureOutput = count(func_get_args()) > 1; $this->captureOutput = func_num_args() > 1;
$this->errorOutput = null; $this->errorOutput = null;
$process = new Process($command, $cwd, null, null, static::getTimeout()); $process = new Process($command, $cwd, null, null, static::getTimeout());