Skip to content

Commit 2043b72

Browse files
committed
Fix
1 parent 085b77e commit 2043b72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Doctrine/Mapping/ClassMetadataFactory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ protected function initialize(): void
4747
'memory' => true,
4848
], $config);
4949

50-
$em = new EntityManager($connection, $config);
50+
$em = EntityManager::create($connection, $config);
5151
$this->setEntityManager($em);
5252
parent::initialize();
5353

0 commit comments

Comments
 (0)