@@ -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; |
@@ -54,13 +54,13 @@ |
||
| 54 | 54 | * |
| 55 | 55 | * @param array $options |
| 56 | 56 | */ |
| 57 | - public function __construct(array $options = []) |
|
| 57 | + public function __construct(array $options = [ ]) |
|
| 58 | 58 | { |
| 59 | 59 | $initOptions = [ |
| 60 | - array_key_exists('serializerManager', $options) ? $options['serializerManager'] : null, |
|
| 61 | - array_key_exists('moduleOptions', $options) ? $options['moduleOptions'] : null |
|
| 60 | + array_key_exists('serializerManager', $options) ? $options[ 'serializerManager' ] : null, |
|
| 61 | + array_key_exists('moduleOptions', $options) ? $options[ 'moduleOptions' ] : null |
|
| 62 | 62 | ]; |
| 63 | - call_user_func_array([$this, 'init'], $initOptions); |
|
| 63 | + call_user_func_array([ $this, 'init' ], $initOptions); |
|
| 64 | 64 | } |
| 65 | 65 | |
| 66 | 66 | /** |
@@ -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; |
@@ -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; |