@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | $criteriaFactory = $container->get("$moduleName\\$entityName\\Infrastructure\\CriteriaFactory"); |
34 | 34 | $entityFactory = $container->get("$moduleName\\$entityName\\EntityFactory"); |
35 | 35 | } else { |
36 | - $entityName = $namespaceParts[0]; |
|
36 | + $entityName = $namespaceParts[ 0 ]; |
|
37 | 37 | /** @var Config $config */ |
38 | 38 | $config = $container->get("$entityName\\Infrastructure\\Config"); |
39 | 39 | $criteriaFactory = $container->get("$entityName\\Infrastructure\\CriteriaFactory"); |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | } |
42 | 42 | |
43 | 43 | $eventManager = $container->get('EventManager'); |
44 | - $eventManager->addIdentifiers(["$entityName\\Infrastructure\\Repository"]); |
|
44 | + $eventManager->addIdentifiers([ "$entityName\\Infrastructure\\Repository" ]); |
|
45 | 45 | $collectionClass = $config->getCollectionClass($entityName); |
46 | 46 | |
47 | 47 | return new InMemoryRepository( |