@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | * |
40 | 40 | * @return array<class-string, array<int, list<class-string>>> |
41 | 41 | */ |
42 | - static function (array $carry, EventCorrelation $event_correlation): array { |
|
42 | + static function(array $carry, EventCorrelation $event_correlation): array { |
|
43 | 43 | $carry[$event_correlation->event_fqcn][$event_correlation->priority->value][] = $event_correlation->listener_fqcn; |
44 | 44 | |
45 | 45 | return $carry; |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * @psalm-param array<int, list<class-string>> $event_listeners_with_priorities |
54 | 54 | * @psalm-return list<class-string> |
55 | 55 | */ |
56 | - static function (array $event_listeners_with_priorities) { |
|
56 | + static function(array $event_listeners_with_priorities) { |
|
57 | 57 | krsort($event_listeners_with_priorities); |
58 | 58 | |
59 | 59 | return array_reduce( |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | * @psalm-param list<class-string> $listeners_sorted_by_priorities |
64 | 64 | * @psalm-return list<class-string> |
65 | 65 | */ |
66 | - static function (array $carry, array $listeners_sorted_by_priorities): array { |
|
66 | + static function(array $carry, array $listeners_sorted_by_priorities): array { |
|
67 | 67 | return array_merge($carry, $listeners_sorted_by_priorities); |
68 | 68 | }, |
69 | 69 | [] |