@@ -52,7 +52,7 @@ |
||
| 52 | 52 | public function init(ModuleManagerInterface $manager) |
| 53 | 53 | { |
| 54 | 54 | if (!$manager instanceof ModuleManager) { |
| 55 | - $errMsg =sprintf('Module manager not implement %s', ModuleManager::class); |
|
| 55 | + $errMsg = sprintf('Module manager not implement %s', ModuleManager::class); |
|
| 56 | 56 | throw new Exception\InvalidArgumentException($errMsg); |
| 57 | 57 | } |
| 58 | 58 | |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | /** @var EntryNameResolverInterface $resolver */ |
| 66 | 66 | $resolver = $serviceLocator->get($name, $options); |
| 67 | 67 | |
| 68 | - $priority = array_key_exists('priority', $options) ? (integer)$options['priority'] : EntryNameResolverChain::DEFAULT_PRIORITY; |
|
| 68 | + $priority = array_key_exists('priority', $options) ? (integer) $options['priority'] : EntryNameResolverChain::DEFAULT_PRIORITY; |
|
| 69 | 69 | |
| 70 | 70 | $chain->attach($resolver, $priority); |
| 71 | 71 | } |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | Service\Module3\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestServiceDir() . 'module3', |
| 34 | 34 | Service\Service\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestServiceDir() . 'service', |
| 35 | 35 | |
| 36 | - CustomService\Module1\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestCustomServiceDir(). 'module1', |
|
| 36 | + CustomService\Module1\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestCustomServiceDir() . 'module1', |
|
| 37 | 37 | CustomService\Module2\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestCustomServiceDir() . 'module2', |
| 38 | 38 | CustomService\Module3\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestCustomServiceDir() . 'module3', |
| 39 | 39 | CustomService\Service\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestCustomServiceDir() . 'service', |