@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | { |
97 | 97 | $event = new \stdClass(); |
98 | 98 | $listener = new \stdClass(); |
99 | - $factory = static fn () => $listener; |
|
99 | + $factory = static fn() => $listener; |
|
100 | 100 | |
101 | 101 | $lazyListener = new LazyListener($factory); |
102 | 102 | |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | $factory1 = new class() { |
144 | 144 | public function create(): callable |
145 | 145 | { |
146 | - return static fn () => 'hello123'; |
|
146 | + return static fn() => 'hello123'; |
|
147 | 147 | } |
148 | 148 | }; |
149 | 149 | |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | return [ |
172 | 172 | [ |
173 | 173 | 'hello123', |
174 | - static fn () => static fn () => 'hello123', |
|
174 | + static fn() => static fn() => 'hello123', |
|
175 | 175 | ], |
176 | 176 | |
177 | 177 | [ |