@@ -23,8 +23,8 @@ |
||
23 | 23 | public function initialize(IContainer $container) { |
24 | 24 | $container->set(IDoctrineConfig::class, DoctrineConfig::class); |
25 | 25 | $container->set( |
26 | - [EntityManager::class, ObjectManager::class, EntityManagerInterface::class], |
|
27 | - [$this, 'createEntityManager'] |
|
26 | + [ EntityManager::class, ObjectManager::class, EntityManagerInterface::class ], |
|
27 | + [ $this, 'createEntityManager' ] |
|
28 | 28 | )->singleton(); |
29 | 29 | } |
30 | 30 |
@@ -38,7 +38,7 @@ |
||
38 | 38 | ->hasBoolean(self::DEBUG, 'Missing debug setting.') |
39 | 39 | ->hasString(self::CACHE_PATH, 'Missing doctrine cache directory path.') |
40 | 40 | ->hasString(self::PROXY_CLASSES_PATH)->nullable() |
41 | - ->hasString(self::METADATA_FORMAT, 'Missing metadata format, supported formats are "annotations" and "yaml".')->allowed(['yaml', 'annotations']) |
|
41 | + ->hasString(self::METADATA_FORMAT, 'Missing metadata format, supported formats are "annotations" and "yaml".')->allowed([ 'yaml', 'annotations' ]) |
|
42 | 42 | ->hasArray(self::CONFIG, 'Missing doctrine config block.') |
43 | 43 | ->hasString(self::MIGRATIONS_NAMESPACE, 'Missing namespace for doctrine migrations.') |
44 | 44 | ->hasString(self::MIGRATIONS_PATH, 'Missing directory path for doctrine migrations.') |