Passed
Branch main (940e25)
by Niels
10:45
created
Category
src/Service/ExceptionJsonResponseBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
 
59 59
         $responseBody = ['message' => $message];
60 60
         if ($exception instanceof HttpExceptionInterface) {
61
-            $responseBody['errors'] = array_map(function ($error) {
61
+            $responseBody['errors'] = array_map(function($error) {
62 62
                 return $error['message'];
63 63
             }, $exception->getErrors());
64 64
         }
Please login to merge, or discard this patch.