@@ -31,11 +31,11 @@ |
||
31 | 31 | |
32 | 32 | $config = $moduleManager->getModule($moduleName)->getConfig(); |
33 | 33 | |
34 | - if (!isset($config['entity_map'])) { |
|
34 | + if (!isset($config[ 'entity_map' ])) { |
|
35 | 35 | throw new ServiceNotCreatedException("You must define |
36 | 36 | and configure $moduleName\\$entityName in 'entity_map' config entry"); |
37 | 37 | } |
38 | 38 | |
39 | - return new Config($config['entity_map']); |
|
39 | + return new Config($config[ 'entity_map' ]); |
|
40 | 40 | } |
41 | 41 | } |
42 | 42 | \ No newline at end of file |