@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-toolkit |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-toolkit |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Toolkit; |
7 | 7 | |
8 | 8 | use OldTown\Workflow\ZF2\Toolkit\Options\ModuleOptions; |
@@ -8,7 +8,7 @@ |
||
8 | 8 | $config = [ |
9 | 9 | 'workflow_zf2_toolkit' => [ |
10 | 10 | 'rootEntityNamespace' => 'OldTown\\Workflow\\ZF2\\Toolkit\\Entity\\', |
11 | - 'entityMap' => [] |
|
11 | + 'entityMap' => [ ] |
|
12 | 12 | ] |
13 | 13 | ]; |
14 | 14 |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-toolkit |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-toolkit |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Toolkit\Validator; |
7 | 7 | |
8 | 8 | use Zend\Validator\AbstractValidator; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-toolkit |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-toolkit |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Toolkit; |
7 | 7 | |
8 | 8 | use OldTown\Workflow\ZF2\Toolkit\Options\ModuleOptions; |
@@ -17,6 +17,6 @@ |
||
17 | 17 | { |
18 | 18 | public function __construct() |
19 | 19 | { |
20 | - $this->entityMap['entry'] = ExtEntry::class; |
|
20 | + $this->entityMap[ 'entry' ] = ExtEntry::class; |
|
21 | 21 | } |
22 | 22 | } |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-toolkit |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-toolkit |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Toolkit\DoctrineWorkflowStory; |
7 | 7 | |
8 | 8 | use Zend\Serializer\AdapterPluginManager as SerializerManager; |
@@ -61,14 +61,14 @@ |
||
61 | 61 | * |
62 | 62 | * @param array $options |
63 | 63 | */ |
64 | - public function __construct(array $options = []) |
|
64 | + public function __construct(array $options = [ ]) |
|
65 | 65 | { |
66 | 66 | $initOptions = [ |
67 | - array_key_exists('serializerManager', $options) ? $options['serializerManager'] : null, |
|
68 | - array_key_exists('moduleOptions', $options) ? $options['moduleOptions'] : null, |
|
69 | - array_key_exists('workflowService', $options) ? $options['workflowService'] : null |
|
67 | + array_key_exists('serializerManager', $options) ? $options[ 'serializerManager' ] : null, |
|
68 | + array_key_exists('moduleOptions', $options) ? $options[ 'moduleOptions' ] : null, |
|
69 | + array_key_exists('workflowService', $options) ? $options[ 'workflowService' ] : null |
|
70 | 70 | ]; |
71 | - call_user_func_array([$this, 'init'], $initOptions); |
|
71 | + call_user_func_array([ $this, 'init' ], $initOptions); |
|
72 | 72 | } |
73 | 73 | |
74 | 74 | /** |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-toolkit |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-toolkit |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Toolkit\Validator; |
7 | 7 | |
8 | 8 | use Zend\Validator\AbstractValidator; |
@@ -36,7 +36,7 @@ |
||
36 | 36 | |
37 | 37 | $serializerManager = $appServiceLocator->get('SerializerAdapterManager'); |
38 | 38 | $moduleOptions = $appServiceLocator->get(ModuleOptions::class); |
39 | - $workflowService = $appServiceLocator->get(Workflow::class); |
|
39 | + $workflowService = $appServiceLocator->get(Workflow::class); |
|
40 | 40 | |
41 | 41 | return new DoctrineWorkflowStoryService( |
42 | 42 | [ |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-toolkit |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-toolkit |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Toolkit\Validator; |
7 | 7 | |
8 | 8 | use Zend\Validator\AbstractValidator; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-toolkit |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-toolkit |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Toolkit\Validator; |
7 | 7 | |
8 | 8 | use Zend\Validator\AbstractValidator; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-toolkit |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-toolkit |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Toolkit\Validator; |
7 | 7 | |
8 | 8 | use Zend\Validator\AbstractValidator; |