Passed
Pull Request — master (#13)
by
unknown
01:44
created
src/Service/JsonResponseBuilderException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 
61 61
         $responseBody = array('message' => $message);
62 62
         if ($exception instanceof HttpExceptionInterface) {
63
-            $responseBody['errors'] = array_map(function ($error) {
63
+            $responseBody['errors'] = array_map(function($error) {
64 64
                 return $error['message'];
65 65
             }, $exception->getErrors());
66 66
         }
Please login to merge, or discard this patch.