Passed
Push — develop ( 91264f...c5643f )
by Nicolas
07:30
created
src/Serializer/Normalizer/FormErrorNormalizer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,11 +17,11 @@
 block discarded – undo
17 17
         $data = parent::normalize($object, $format, $context);
18 18
         $data = $data['errors']['children'];
19 19
 
20
-        $data = array_filter($data, function ($child) {
20
+        $data = array_filter($data, function($child) {
21 21
             return isset($child['errors']) && \count($child['errors']) > 0;
22 22
         });
23 23
 
24
-        $data = array_map(function ($child) {
24
+        $data = array_map(function($child) {
25 25
             return $child['errors'] ?? [];
26 26
         }, $data);
27 27
 
Please login to merge, or discard this patch.