Passed
Push — master ( 369dd9...0c3679 )
by Fabien
01:59
created
src/Event/Broker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
                 continue;
50 50
             }
51 51
 
52
-            $this->subscribers[$eventClass][] = static function (Event $event) use ($subscriber, $method): void {
52
+            $this->subscribers[$eventClass][] = static function(Event $event) use ($subscriber, $method): void {
53 53
                 $subscriber->$method($event);
54 54
             };
55 55
         }
Please login to merge, or discard this patch.
src/Event/HookLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 
56 56
         foreach ($hooks as $hook) {
57 57
             if (!$this->attach($hook, $broker)) {
58
-                throw new InvalidArgumentException('Invalid hook: ' . $hook);
58
+                throw new InvalidArgumentException('Invalid hook: '.$hook);
59 59
             }
60 60
         }
61 61
     }
Please login to merge, or discard this patch.