diff --git a/src/Illuminate/Foundation/Console/DocsCommand.php b/src/Illuminate/Foundation/Console/DocsCommand.php index 3de344181749..425b2f88fd9a 100644 --- a/src/Illuminate/Foundation/Console/DocsCommand.php +++ b/src/Illuminate/Foundation/Console/DocsCommand.php @@ -401,9 +401,9 @@ protected function openViaBuiltInStrategy($url) } $binaryExecutable = [ - 'Darwin' => 'open', - 'Windows' => 'start', - 'Linux' => 'xdg-open' + 'Darwin' => 'open', + 'Windows' => 'start', + 'Linux' => 'xdg-open', ][$this->systemOsFamily]; $process = tap(Process::fromShellCommandline($binaryExecutable.' '.escapeshellcmd($url)))->run();