@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2 |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2 |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\ServiceEngine\Workflow\Exception; |
7 | 7 | |
8 | 8 | use OldTown\Workflow\ZF2\ServiceEngine\Exception\InvalidArgumentException as Exception; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2 |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2 |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\ServiceEngine\Workflow; |
7 | 7 | |
8 | 8 | use OldTown\Workflow\Loader\WorkflowDescriptor; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2 |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2 |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\ServiceEngine\Workflow; |
7 | 7 | |
8 | 8 | use OldTown\Workflow\Loader\WorkflowDescriptor; |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | */ |
101 | 101 | public function setViewName($viewName) |
102 | 102 | { |
103 | - $this->viewName = (string)$viewName; |
|
103 | + $this->viewName = (string) $viewName; |
|
104 | 104 | |
105 | 105 | return $this; |
106 | 106 | } |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | */ |
141 | 141 | public function setEntryId($entryId) |
142 | 142 | { |
143 | - $this->entryId = (integer)$entryId; |
|
143 | + $this->entryId = (integer) $entryId; |
|
144 | 144 | |
145 | 145 | return $this; |
146 | 146 | } |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2 |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2 |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\ServiceEngine\Workflow; |
7 | 7 | |
8 | 8 | use OldTown\Workflow\Loader\WorkflowDescriptor; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2 |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2 |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Factory\Exception; |
7 | 7 | |
8 | 8 | /** |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2 |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2 |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Factory\Exception; |
7 | 7 | |
8 | 8 | use OldTown\Workflow\ZF2\Exception\InvalidArgumentException as Exception; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2 |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2 |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Factory\Exception; |
7 | 7 | |
8 | 8 | /** |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2 |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2 |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Factory; |
7 | 7 | |
8 | 8 | use Zend\Mvc\Application; |
@@ -34,7 +34,7 @@ |
||
34 | 34 | public function createService(ServiceLocatorInterface $serviceLocator) |
35 | 35 | { |
36 | 36 | $caller = false; |
37 | - $appSm = method_exists($serviceLocator, 'getServiceLocator') ? call_user_func([$serviceLocator, 'getServiceLocator']) : null; |
|
37 | + $appSm = method_exists($serviceLocator, 'getServiceLocator') ? call_user_func([ $serviceLocator, 'getServiceLocator' ]) : null; |
|
38 | 38 | if ($appSm && $appSm->has('Application')) { |
39 | 39 | /** @var Application $app */ |
40 | 40 | $app = $appSm->get('Application'); |
@@ -1,8 +1,8 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2 |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2 |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Factory; |
7 | 7 | |
8 | 8 | use OldTown\Workflow\Util\Properties\Properties; |
@@ -114,8 +114,8 @@ discard block |
||
114 | 114 | |
115 | 115 | $event = new WorkflowManagerEvent(); |
116 | 116 | $event->setWorkflowManager($workflowManager) |
117 | - ->setName(WorkflowManagerEvent::EVENT_CREATE) |
|
118 | - ->setTarget($workflowManager); |
|
117 | + ->setName(WorkflowManagerEvent::EVENT_CREATE) |
|
118 | + ->setTarget($workflowManager); |
|
119 | 119 | $workflowService->getEventManager()->trigger($event); |
120 | 120 | } catch (\Exception $e) { |
121 | 121 | throw new Exception\FactoryException($e->getMessage(), $e->getCode(), $e); |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | try { |
81 | 81 | $creationOptions = $this->getCreationOptions(); |
82 | 82 | if (array_key_exists(static::WORKFLOW_CONFIGURATION_NAME, $creationOptions)) { |
83 | - $this->setWorkflowConfigurationName($creationOptions[static::WORKFLOW_CONFIGURATION_NAME]); |
|
83 | + $this->setWorkflowConfigurationName($creationOptions[ static::WORKFLOW_CONFIGURATION_NAME ]); |
|
84 | 84 | } |
85 | 85 | |
86 | 86 | /** @var ModuleOptions $moduleOptions */ |
@@ -221,7 +221,7 @@ discard block |
||
221 | 221 | */ |
222 | 222 | public function setWorkflowConfigurationName($workflowConfigurationName) |
223 | 223 | { |
224 | - $this->workflowConfigurationName = (string)$workflowConfigurationName; |
|
224 | + $this->workflowConfigurationName = (string) $workflowConfigurationName; |
|
225 | 225 | |
226 | 226 | return $this; |
227 | 227 | } |