@@ -13,7 +13,7 @@ |
||
13 | 13 | { |
14 | 14 | return new JsonResponse([ |
15 | 15 | 'message' => 'Please check your data', |
16 | - 'errors' => array_map(function (ConstraintViolation $violation) { |
|
16 | + 'errors' => array_map(function(ConstraintViolation $violation) { |
|
17 | 17 | |
18 | 18 | return [ |
19 | 19 | 'path' => $violation->getPropertyPath(), |