Completed
Push — develop ( b0e4f2...cad586 )
by Ando
15:33
created
app/Exceptions/Handler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     {
53 53
         if ($e instanceof HttpException) {
54 54
 
55
-            $message = $e->getMessage() ?: Response::$statusTexts[$e->getStatusCode()];
55
+            $message = $e->getMessage() ?: Response::$statusTexts[ $e->getStatusCode() ];
56 56
 
57 57
             $error = new Error(null, null, $e->getStatusCode(), null, $message);
58 58
 
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
             return response(
63 63
                 $encoder->encodeError($error),
64 64
                 $e->getStatusCode(),
65
-                ['Content-Type' => MediaTypeInterface::JSON_API_MEDIA_TYPE]
65
+                [ 'Content-Type' => MediaTypeInterface::JSON_API_MEDIA_TYPE ]
66 66
             );
67 67
         }
68 68
 
Please login to merge, or discard this patch.