From: Hypolite Petovan Date: Sun, 18 Mar 2018 17:26:14 +0000 (-0400) Subject: Remove wrong by reference variable init in Console\DocBloxErrorChecker X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=52e07a9e6d4274634ea6a2923ae5380106663ab1;p=friendica.git Remove wrong by reference variable init in Console\DocBloxErrorChecker --- 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; }