diff --git a/src/Proxy/ProxyFactory.php b/src/Proxy/ProxyFactory.php index 37fabed3a1..9ee7e9e55b 100644 --- a/src/Proxy/ProxyFactory.php +++ b/src/Proxy/ProxyFactory.php @@ -484,7 +484,7 @@ private function getProxyFactory(string $className): Closure if ($class->hasAssociation($idField)) { $idValue = $em->getReference( $class->getAssociationTargetClass($idField), - $idValue, + $idValue ); }