@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | public function render($request, Exception $exception) |
52 | 52 | { |
53 | 53 | if (!app()->environment('local')) { |
54 | - return response()->view('errors.500', [], 500); |
|
54 | + return response()->view('errors.500', [ ], 500); |
|
55 | 55 | } |
56 | 56 | |
57 | 57 | return parent::render($request, $exception); |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | protected function unauthenticated($request, AuthenticationException $exception) |
68 | 68 | { |
69 | 69 | if ($request->expectsJson()) { |
70 | - return response()->json(['error' => 'Unauthenticated.'], 401); |
|
70 | + return response()->json([ 'error' => 'Unauthenticated.' ], 401); |
|
71 | 71 | } |
72 | 72 | |
73 | 73 | return redirect()->guest('login'); |