Completed
Push — master ( 65925d...2d1b3d )
by Daniel
08:05
created
src/Serializer/ApiNormalizer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
                 ];
79 79
             }
80 80
         }
81
-        usort($sortedTransformers, static function($a, $b) {
81
+        usort($sortedTransformers, static function ($a, $b) {
82 82
             if ($a[1] === $b[1]) {
83 83
                 return 0;
84 84
             }
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
         }
108 108
         $context[self::ALREADY_CALLED][] = $this->getId($object);
109 109
         if ($object instanceof AbstractComponent || $object instanceof DynamicContent || $object instanceof AbstractContent) {
110
-            $context['groups'] = array_map(static function($grp) {
110
+            $context['groups'] = array_map(static function ($grp) {
111 111
                 if (strpos($grp, 'route') === 0) {
112 112
                     return str_replace('route', 'component', $grp);
113 113
                 }
Please login to merge, or discard this patch.