Passed
Push — develop ( a7779a...3b1731 )
by Niclas Leon
03:48 queued 01:38
created
app/Exceptions/Handler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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');
Please login to merge, or discard this patch.