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