@@ -78,7 +78,7 @@ discard block |
||
| 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 |
||
| 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 | } |