@@ -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\Listener; |
7 | 7 | |
8 | 8 | use OldTown\Workflow\ZF2\Event\WorkflowManagerEvent; |
@@ -56,9 +56,9 @@ discard block |
||
56 | 56 | /** |
57 | 57 | * @param array $options |
58 | 58 | */ |
59 | - public function __construct(array $options = []) |
|
59 | + public function __construct(array $options = [ ]) |
|
60 | 60 | { |
61 | - call_user_func_array([$this, 'init'], $options); |
|
61 | + call_user_func_array([ $this, 'init' ], $options); |
|
62 | 62 | } |
63 | 63 | |
64 | 64 | /** |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | */ |
79 | 79 | public function attach(EventManagerInterface $events) |
80 | 80 | { |
81 | - $this->listeners[] = $events->attach(WorkflowManagerEvent::EVENT_CREATE, [$this, 'createWorkflowManager'], -80); |
|
81 | + $this->listeners[ ] = $events->attach(WorkflowManagerEvent::EVENT_CREATE, [ $this, 'createWorkflowManager' ], -80); |
|
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | */ |
87 | 87 | protected function attachDefaultListeners() |
88 | 88 | { |
89 | - $this->getEventManager()->attach(WorkflowTypeResolverEvent::INJECT_WORKFLOW_TYPE_RESOLVER, [$this, 'addServiceTypeResolver']); |
|
89 | + $this->getEventManager()->attach(WorkflowTypeResolverEvent::INJECT_WORKFLOW_TYPE_RESOLVER, [ $this, 'addServiceTypeResolver' ]); |
|
90 | 90 | } |
91 | 91 | |
92 | 92 | /** |
@@ -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\Listener\Exception; |
7 | 7 | |
8 | 8 | use OldTown\Workflow\ZF2\Service\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\Listener\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\Listener\Exception; |
7 | 7 | |
8 | 8 | use \OldTown\Workflow\ZF2\Service\Exception\ExceptionInterface as BaseException; |
@@ -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\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\Exception; |
7 | 7 | |
8 | 8 | /** |
@@ -96,7 +96,7 @@ |
||
96 | 96 | * |
97 | 97 | * @return $this |
98 | 98 | */ |
99 | - public function setMetadataReaderOptions(array $metadataReaderOptions = []) |
|
99 | + public function setMetadataReaderOptions(array $metadataReaderOptions = [ ]) |
|
100 | 100 | { |
101 | 101 | $this->metadataReaderOptions = $metadataReaderOptions; |
102 | 102 |
@@ -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\Options\Exception; |
7 | 7 | |
8 | 8 | use OldTown\Workflow\ZF2\Service\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\Options\Exception; |
7 | 7 | |
8 | 8 | use OldTown\Workflow\ZF2\Service\Exception\InvalidArgumentException as Exception; |