Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Nov 17, 2023
1 parent 085b77e commit 2043b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Doctrine/Mapping/ClassMetadataFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ protected function initialize(): void
'memory' => true,
], $config);

$em = new EntityManager($connection, $config);
$em = EntityManager::create($connection, $config);
$this->setEntityManager($em);
parent::initialize();

Expand Down

0 comments on commit 2043b72

Please sign in to comment.