@@ -47,13 +47,13 @@ |
||
| 47 | 47 | * @throws \Zend\ServiceManager\Exception\ServiceNotFoundException |
| 48 | 48 | * @throws Exception\RuntimeException |
| 49 | 49 | */ |
| 50 | - public function factory(array $options = []) |
|
| 50 | + public function factory(array $options = [ ]) |
|
| 51 | 51 | { |
| 52 | 52 | if (!array_key_exists(static::ENTITY_MANAGER_NAME, $options)) { |
| 53 | 53 | $errMsg = sprintf('Option %s not found', static::ENTITY_MANAGER_NAME); |
| 54 | 54 | throw new Exception\InvalidArgumentException($errMsg); |
| 55 | 55 | } |
| 56 | - $emName = $options[static::ENTITY_MANAGER_NAME]; |
|
| 56 | + $emName = $options[ static::ENTITY_MANAGER_NAME ]; |
|
| 57 | 57 | |
| 58 | 58 | return $this->getServiceLocator()->get($emName); |
| 59 | 59 | } |