@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @link https://github.com/old-town/workflow-zf2-serviceEngine |
|
| 4 | - * @author Malofeykin Andrey <[email protected]> |
|
| 5 | - */ |
|
| 3 | + * @link https://github.com/old-town/workflow-zf2-serviceEngine |
|
| 4 | + * @author Malofeykin Andrey <[email protected]> |
|
| 5 | + */ |
|
| 6 | 6 | namespace OldTown\Workflow\ZF2\ServiceEngine\Options\Exception; |
| 7 | 7 | |
| 8 | 8 | use \OldTown\Workflow\ZF2\ServiceEngine\Exception\ExceptionInterface as BaseException; |
@@ -28,9 +28,9 @@ |
||
| 28 | 28 | { |
| 29 | 29 | /** @var array $appConfig */ |
| 30 | 30 | $appConfig = $serviceLocator->get('config'); |
| 31 | - $config = []; |
|
| 31 | + $config = [ ]; |
|
| 32 | 32 | if (array_key_exists(Module::CONFIG_KEY, $appConfig)) { |
| 33 | - $config = $appConfig[Module::CONFIG_KEY]; |
|
| 33 | + $config = $appConfig[ Module::CONFIG_KEY ]; |
|
| 34 | 34 | } |
| 35 | 35 | $moduleOptions = new ModuleOptions($config); |
| 36 | 36 | return $moduleOptions; |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @link https://github.com/old-town/workflow-zf2-serviceEngine |
|
| 4 | - * @author Malofeykin Andrey <[email protected]> |
|
| 5 | - */ |
|
| 3 | + * @link https://github.com/old-town/workflow-zf2-serviceEngine |
|
| 4 | + * @author Malofeykin Andrey <[email protected]> |
|
| 5 | + */ |
|
| 6 | 6 | namespace OldTown\Workflow\ZF2\ServiceEngine; |
| 7 | 7 | |
| 8 | 8 | |
@@ -87,7 +87,7 @@ |
||
| 87 | 87 | public function init(ModuleManagerInterface $manager) |
| 88 | 88 | { |
| 89 | 89 | if (!$manager instanceof ModuleManager) { |
| 90 | - $errMsg =sprintf('Module manager not implement %s', ModuleManager::class); |
|
| 90 | + $errMsg = sprintf('Module manager not implement %s', ModuleManager::class); |
|
| 91 | 91 | throw new Exception\ErrorInitModuleException($errMsg); |
| 92 | 92 | } |
| 93 | 93 | /** @var ModuleManager $manager */ |
@@ -7,7 +7,7 @@ discard block |
||
| 7 | 7 | |
| 8 | 8 | |
| 9 | 9 | use OldTown\Workflow\ZF2\ServiceEngine\Options\ModuleOptions; |
| 10 | -use OldTown\Workflow\ZF2\ServiceEngine\Options\ModuleOptionsFactory;; |
|
| 10 | +use OldTown\Workflow\ZF2\ServiceEngine\Options\ModuleOptionsFactory; ; |
|
| 11 | 11 | |
| 12 | 12 | |
| 13 | 13 | return [ |
@@ -22,9 +22,9 @@ discard block |
||
| 22 | 22 | 'workflow_zf2_serviceEngine' => [ |
| 23 | 23 | ], |
| 24 | 24 | 'workflow_zf2_service' => [ |
| 25 | - 'invokables' => [], |
|
| 26 | - 'factories' => [], |
|
| 27 | - 'abstract_factories' => [], |
|
| 28 | - 'aliases' => [] |
|
| 25 | + 'invokables' => [ ], |
|
| 26 | + 'factories' => [ ], |
|
| 27 | + 'abstract_factories' => [ ], |
|
| 28 | + 'aliases' => [ ] |
|
| 29 | 29 | ] |
| 30 | 30 | ]; |
| 31 | 31 | \ No newline at end of file |