From 52e07a9e6d4274634ea6a2923ae5380106663ab1 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 18 Mar 2018 13:26:14 -0400 Subject: [PATCH] Remove wrong by reference variable init in Console\DocBloxErrorChecker --- src/Core/Console/DocBloxErrorChecker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Console/DocBloxErrorChecker.php b/src/Core/Console/DocBloxErrorChecker.php index 2a9aa024f9..922a5ed056 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; }