Skip to content

Commit 49293c4

Browse files
authored
Merge pull request #12032 from doctrine/3.4.x-merge-up-into-3.5.x_dG7qI4BR
Merge release 3.4.3 into 3.5.x
2 parents 60ff966 + ef607f2 commit 49293c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/UnitOfWork.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2383,9 +2383,9 @@ public function createEntity(string $className, array $data, array &$hints = [])
23832383
$class->reflClass->markLazyObjectAsInitialized($entity);
23842384
} else {
23852385
$entity->__setInitialized(true);
2386-
}
23872386

2388-
Hydrator::hydrate($entity, (array) $class->reflClass->newInstanceWithoutConstructor());
2387+
Hydrator::hydrate($entity, (array) $class->reflClass->newInstanceWithoutConstructor());
2388+
}
23892389
} else {
23902390
if (
23912391
! isset($hints[Query::HINT_REFRESH])

0 commit comments

Comments
 (0)