diff --git a/tests/Doctrine/Performance/Mock/NonProxyLoadingEntityManager.php b/tests/Doctrine/Performance/Mock/NonProxyLoadingEntityManager.php index 0e9f635ed95..55e687ecaf4 100644 --- a/tests/Doctrine/Performance/Mock/NonProxyLoadingEntityManager.php +++ b/tests/Doctrine/Performance/Mock/NonProxyLoadingEntityManager.php @@ -319,9 +319,9 @@ public function detach($object) /** * {@inheritDoc} */ - public function refresh($object) + public function refresh($object, ?int $lockMode = null) { - $this->realEntityManager->refresh($object); + $this->realEntityManager->refresh($object, $lockMode); } /**