@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | ]; |
60 | 60 | |
61 | 61 | if ($this->container->runningInConsole()) { |
62 | - $info['Command'] = implode(' ', $request->server('argv', [])); |
|
62 | + $info[ 'Command' ] = implode(' ', $request->server('argv', [ ])); |
|
63 | 63 | } |
64 | 64 | |
65 | 65 | return $info; |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | */ |
172 | 172 | protected function convertExceptionToResponse(Exception $e) |
173 | 173 | { |
174 | - if (request()->expectsJson() && ! $this->container->make('config')->get('app.debug')) { |
|
174 | + if (request()->expectsJson() && !$this->container->make('config')->get('app.debug')) { |
|
175 | 175 | return $this->convertExceptionToApiResponse($e); |
176 | 176 | } |
177 | 177 |