Skip to content

Commit 628ba09

Browse files
committed
Update minimum requirements
1 parent df6af2d commit 628ba09

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"doctrine/collections": "^1.0",
2626
"doctrine/dbal": "^2.3|^3.0",
2727
"doctrine/event-manager": "^1.0",
28-
"doctrine/orm": "^2.10",
28+
"doctrine/orm": "^2.13",
2929
"doctrine/persistence": "^1.3.8 | ^2.1",
3030
"psr/log": "^1.0",
3131
"symfony/config": "^5.4|^6.4|^7.0",

src/Doctrine/PolyglotListener.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ private function injectPersistentTranslatables(EntityManager $entityManager, obj
9292

9393
public function preFlush(PreFlushEventArgs $event): void
9494
{
95-
$em = $event->getObjectManager();
95+
$em = $event->getEntityManager();
9696

9797
foreach ($this->entitiesWithTranslatables as $key => $weakRef) {
9898
$object = $weakRef->get();

0 commit comments

Comments
 (0)