Passed
Pull Request — master (#18)
by Alex
02:51
created
test/unit/Listener/LazyListenerTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
             [
Please login to merge, or discard this patch.