@@ -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; |
@@ -44,12 +44,12 @@ |
||
44 | 44 | * |
45 | 45 | * @param array $options |
46 | 46 | */ |
47 | - public function __construct(array $options = []) |
|
47 | + public function __construct(array $options = [ ]) |
|
48 | 48 | { |
49 | 49 | $initOptions = [ |
50 | - array_key_exists('serializerManager', $options) ? $options['serializerManager'] : null |
|
50 | + array_key_exists('serializerManager', $options) ? $options[ 'serializerManager' ] : null |
|
51 | 51 | ]; |
52 | - call_user_func_array([$this, 'init'], $initOptions); |
|
52 | + call_user_func_array([ $this, 'init' ], $initOptions); |
|
53 | 53 | } |
54 | 54 | |
55 | 55 | /** |