@@ -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; |
@@ -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 */ |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-service |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-service |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Service; |
7 | 7 | |
8 | 8 |
@@ -25,13 +25,13 @@ |
||
25 | 25 | * |
26 | 26 | * @throws \OldTown\Workflow\ZF2\Service\TypeResolver\ServiceTypeResolver\Exception\RuntimeException |
27 | 27 | */ |
28 | - public function passesCondition(TransientVarsInterface $transientVars, array $args = [], PropertySetInterface $ps) |
|
28 | + public function passesCondition(TransientVarsInterface $transientVars, array $args = [ ], PropertySetInterface $ps) |
|
29 | 29 | { |
30 | 30 | $serviceUtil = $this->getServiceUtil(); |
31 | 31 | $service = $this->getService(); |
32 | 32 | $metadata = $this->getMetadata(); |
33 | 33 | $listArguments = $serviceUtil->buildArgumentsForService($service, $metadata, $transientVars, $args); |
34 | 34 | |
35 | - return (boolean)call_user_func_array($service, $listArguments); |
|
35 | + return (boolean) call_user_func_array($service, $listArguments); |
|
36 | 36 | } |
37 | 37 | } |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-service |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-service |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Service\TypeResolver\ServiceTypeResolver; |
7 | 7 | |
8 | 8 | use OldTown\Workflow\ZF2\Service\Metadata\Storage\MetadataInterface; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-service |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-service |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Service\TypeResolver\ServiceTypeResolver; |
7 | 7 | |
8 | 8 | use OldTown\PropertySet\PropertySetInterface; |
@@ -28,7 +28,7 @@ |
||
28 | 28 | * |
29 | 29 | * @throws \OldTown\Workflow\ZF2\Service\TypeResolver\ServiceTypeResolver\Exception\RuntimeException |
30 | 30 | */ |
31 | - public function registerVariable(WorkflowContextInterface $context, WorkflowEntryInterface $entry, array $args = [], PropertySetInterface $ps) |
|
31 | + public function registerVariable(WorkflowContextInterface $context, WorkflowEntryInterface $entry, array $args = [ ], PropertySetInterface $ps) |
|
32 | 32 | { |
33 | 33 | $serviceUtil = $this->getServiceUtil(); |
34 | 34 | $service = $this->getService(); |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-service |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-service |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Service\TypeResolver\ServiceTypeResolver\Exception; |
7 | 7 | |
8 | 8 | use OldTown\Workflow\ZF2\Service\TypeResolver\Exception\InvalidArgumentException as Exception; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-service |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-service |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Service\TypeResolver\ServiceTypeResolver\Exception; |
7 | 7 | |
8 | 8 | /** |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-service |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-service |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Service\TypeResolver\ServiceTypeResolver\Exception; |
7 | 7 | |
8 | 8 | use \OldTown\Workflow\ZF2\Service\TypeResolver\Exception\ExceptionInterface as BaseException; |
@@ -23,7 +23,7 @@ |
||
23 | 23 | * |
24 | 24 | * @throws \OldTown\Workflow\ZF2\Service\TypeResolver\ServiceTypeResolver\Exception\RuntimeException |
25 | 25 | */ |
26 | - public function validate(TransientVarsInterface $transientVars, array $args = [], PropertySetInterface $ps) |
|
26 | + public function validate(TransientVarsInterface $transientVars, array $args = [ ], PropertySetInterface $ps) |
|
27 | 27 | { |
28 | 28 | $serviceUtil = $this->getServiceUtil(); |
29 | 29 | $service = $this->getService(); |