@@ -60,7 +60,7 @@ |
||
| 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 | } |