@@ -49,7 +49,7 @@ |
||
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 | } |
@@ -55,7 +55,7 @@ |
||
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 | } |