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