@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | |
| 130 | 130 | if ([] === $config->getDirectoriesToScan()) { |
| 131 | 131 | throw new InvalidArgumentException( |
| 132 | - 'Provide the directories you want to scan as arguments, ' . |
|
| 132 | + 'Provide the directories you want to scan as arguments, '. |
|
| 133 | 133 | 'or configure them under "directoriesToScan" in your churn.yml file.' |
| 134 | 134 | ); |
| 135 | 135 | } |
@@ -157,7 +157,7 @@ discard block |
||
| 157 | 157 | |
| 158 | 158 | foreach ($config->getHooks() as $hook) { |
| 159 | 159 | if (!$loader->attach($hook, $broker)) { |
| 160 | - throw new InvalidArgumentException('Invalid hook: ' . $hook); |
|
| 160 | + throw new InvalidArgumentException('Invalid hook: '.$hook); |
|
| 161 | 161 | } |
| 162 | 162 | } |
| 163 | 163 | } |
@@ -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 | } |