@@ -46,7 +46,7 @@ |
||
| 46 | 46 | public function init(ModuleManagerInterface $manager) |
| 47 | 47 | { |
| 48 | 48 | if (!$manager instanceof ModuleManager) { |
| 49 | - $errMsg =sprintf('Module manager not implement %s', ModuleManager::class); |
|
| 49 | + $errMsg = sprintf('Module manager not implement %s', ModuleManager::class); |
|
| 50 | 50 | throw new Exception\InvalidArgumentException($errMsg); |
| 51 | 51 | } |
| 52 | 52 | |
@@ -183,7 +183,7 @@ |
||
| 183 | 183 | $event->setTarget($this); |
| 184 | 184 | $event->setModuleName($moduleName); |
| 185 | 185 | |
| 186 | - $eventCollections = $this->getEventManager()->trigger($event, function ($result) { |
|
| 186 | + $eventCollections = $this->getEventManager()->trigger($event, function($result) { |
|
| 187 | 187 | return $result instanceof ModuleOptionsInterface; |
| 188 | 188 | }); |
| 189 | 189 | |