Remove wrong by reference variable init in Console\DocBloxErrorChecker
This commit is contained in:
parent
bba12da167
commit
52e07a9e6d
|
@ -123,7 +123,7 @@ HELP;
|
|||
private function commandExists($command)
|
||||
{
|
||||
$prefix = strpos(strtolower(PHP_OS),'win') > -1 ? 'where' : 'which';
|
||||
exec("{$prefix} {$command}", $output = [], $returnVal = 0);
|
||||
exec("{$prefix} {$command}", $output, $returnVal);
|
||||
return $returnVal === 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue