@@ -61,14 +61,14 @@ |
||
61 | 61 | * |
62 | 62 | * @param array $options |
63 | 63 | */ |
64 | - public function __construct(array $options = []) |
|
64 | + public function __construct(array $options = [ ]) |
|
65 | 65 | { |
66 | 66 | $initOptions = [ |
67 | - array_key_exists('serializerManager', $options) ? $options['serializerManager'] : null, |
|
68 | - array_key_exists('moduleOptions', $options) ? $options['moduleOptions'] : null, |
|
69 | - array_key_exists('workflowService', $options) ? $options['workflowService'] : null |
|
67 | + array_key_exists('serializerManager', $options) ? $options[ 'serializerManager' ] : null, |
|
68 | + array_key_exists('moduleOptions', $options) ? $options[ 'moduleOptions' ] : null, |
|
69 | + array_key_exists('workflowService', $options) ? $options[ 'workflowService' ] : null |
|
70 | 70 | ]; |
71 | - call_user_func_array([$this, 'init'], $initOptions); |
|
71 | + call_user_func_array([ $this, 'init' ], $initOptions); |
|
72 | 72 | } |
73 | 73 | |
74 | 74 | /** |
@@ -36,7 +36,7 @@ |
||
36 | 36 | |
37 | 37 | $serializerManager = $appServiceLocator->get('SerializerAdapterManager'); |
38 | 38 | $moduleOptions = $appServiceLocator->get(ModuleOptions::class); |
39 | - $workflowService = $appServiceLocator->get(Workflow::class); |
|
39 | + $workflowService = $appServiceLocator->get(Workflow::class); |
|
40 | 40 | |
41 | 41 | return new DoctrineWorkflowStoryService( |
42 | 42 | [ |