@@ -36,7 +36,7 @@ |
||
36 | 36 | const CONFIG_KEY = 'workflow_zf2_dispatch'; |
37 | 37 | |
38 | 38 | /** |
39 | - * @return array |
|
39 | + * @return string[] |
|
40 | 40 | */ |
41 | 41 | public function getModuleDependencies() |
42 | 42 | { |
@@ -327,7 +327,7 @@ |
||
327 | 327 | * |
328 | 328 | * @param WorkflowDispatchEventInterface $e |
329 | 329 | * |
330 | - * @return TransitionResultInterface |
|
330 | + * @return null|WorkflowService\TransitionResult |
|
331 | 331 | */ |
332 | 332 | public function onRunWorkflowHandler(WorkflowDispatchEventInterface $e) |
333 | 333 | { |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-dispatch |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-dispatch |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Dispatch\Dispatcher; |
7 | 7 | |
8 | 8 | use OldTown\Workflow\TransientVars\TransientVarsInterface; |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | $event->getMvcEvent()->setParam(static::WORKFLOW_DISPATCH_EVENT, $event); |
116 | 116 | $event->setTarget($this); |
117 | 117 | |
118 | - $metadataResult = $this->getEventManager()->trigger(WorkflowDispatchEventInterface::LOAD_METADATA_EVENT, $event, function ($test) { |
|
118 | + $metadataResult = $this->getEventManager()->trigger(WorkflowDispatchEventInterface::LOAD_METADATA_EVENT, $event, function($test) { |
|
119 | 119 | return ($test instanceof MetadataInterface); |
120 | 120 | }); |
121 | 121 | $metadata = $metadataResult->last(); |
@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | } |
151 | 151 | |
152 | 152 | if (true === $flagRunWorkflow) { |
153 | - $runWorkflowResults = $this->getEventManager()->trigger(WorkflowDispatchEventInterface::RUN_WORKFLOW_EVENT, $event, function ($result) { |
|
153 | + $runWorkflowResults = $this->getEventManager()->trigger(WorkflowDispatchEventInterface::RUN_WORKFLOW_EVENT, $event, function($result) { |
|
154 | 154 | return ($result instanceof TransitionResultInterface); |
155 | 155 | }); |
156 | 156 | |
@@ -491,7 +491,7 @@ discard block |
||
491 | 491 | */ |
492 | 492 | public function setWorkflowDispatchEventClassName($workflowDispatchEventClassName) |
493 | 493 | { |
494 | - $this->workflowDispatchEventClassName = (string)$workflowDispatchEventClassName; |
|
494 | + $this->workflowDispatchEventClassName = (string) $workflowDispatchEventClassName; |
|
495 | 495 | |
496 | 496 | return $this; |
497 | 497 | } |
@@ -511,7 +511,7 @@ discard block |
||
511 | 511 | */ |
512 | 512 | public function setTransientVarsClassName($transientVarsClassName) |
513 | 513 | { |
514 | - $this->transientVarsClassName = (string)$transientVarsClassName; |
|
514 | + $this->transientVarsClassName = (string) $transientVarsClassName; |
|
515 | 515 | |
516 | 516 | return $this; |
517 | 517 | } |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-dispatch |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-dispatch |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Dispatch; |
7 | 7 | |
8 | 8 | return [ |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-dispatch |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-dispatch |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Dispatch; |
7 | 7 | |
8 | 8 | use OldTown\Workflow\ZF2\Dispatch\Listener\WorkflowDispatchListenerFactory; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-dispatch |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-dispatch |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Dispatch\Annotation; |
7 | 7 | |
8 | 8 | /** |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-dispatch |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-dispatch |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Dispatch\Annotation; |
7 | 7 | |
8 | 8 | /** |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-dispatch |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-dispatch |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Dispatch\Annotation; |
7 | 7 | |
8 | 8 | /** |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-dispatch |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-dispatch |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Dispatch\Annotation; |
7 | 7 | |
8 | 8 | /** |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-dispatch |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-dispatch |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Dispatch\Annotation; |
7 | 7 | |
8 | 8 | use OldTown\Workflow\ZF2\Dispatch\Metadata\Storage\Metadata; |