@@ -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 | |
@@ -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 | /** |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | * |
| 27 | 27 | * @var array |
| 28 | 28 | */ |
| 29 | - protected $entityMap = []; |
|
| 29 | + protected $entityMap = [ ]; |
|
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | 32 | * @return string |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | * |
| 62 | 62 | * @return $this |
| 63 | 63 | */ |
| 64 | - public function setEntityMap(array $entityMap = []) |
|
| 64 | + public function setEntityMap(array $entityMap = [ ]) |
|
| 65 | 65 | { |
| 66 | 66 | $this->entityMap = $entityMap; |
| 67 | 67 | |