@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | /** |
23 | 23 | * {@inheritdoc} |
24 | 24 | */ |
25 | - public function normalize(mixed $data, string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null |
|
25 | + public function normalize(mixed $data, string $format = null, array $context = []): array | string | int | float | bool | \ArrayObject | null |
|
26 | 26 | { |
27 | 27 | return parent::normalize( |
28 | 28 | is_array($data) ? $this->order($data) : $data, |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | if (!empty($filteredData)) { |
59 | 59 | uasort( |
60 | 60 | $filteredData, |
61 | - function (OrderedNormalizerInterface $a, OrderedNormalizerInterface $b) { |
|
61 | + function(OrderedNormalizerInterface $a, OrderedNormalizerInterface $b) { |
|
62 | 62 | return $a->getOrder() <=> $b->getOrder(); |
63 | 63 | } |
64 | 64 | ); |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | { |
81 | 81 | return array_filter( |
82 | 82 | $array, |
83 | - function ($value) { |
|
83 | + function($value) { |
|
84 | 84 | return $value instanceof OrderedNormalizerInterface; |
85 | 85 | } |
86 | 86 | ); |