diff --git a/src/Core/Console/DocBloxErrorChecker.php b/src/Core/Console/DocBloxErrorChecker.php index 2a9aa024f..922a5ed05 100644 --- a/src/Core/Console/DocBloxErrorChecker.php +++ b/src/Core/Console/DocBloxErrorChecker.php @@ -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; }