From cc9e456ed8f69f93cb139d4c9211fab812b8da63 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Sat, 19 Nov 2022 13:46:19 +0100 Subject: [PATCH] Use more precise phpdoc --- lib/Doctrine/ORM/Query.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Doctrine/ORM/Query.php b/lib/Doctrine/ORM/Query.php index 383e04ae517..760c07c3883 100644 --- a/lib/Doctrine/ORM/Query.php +++ b/lib/Doctrine/ORM/Query.php @@ -770,6 +770,8 @@ public function setHydrationMode($hydrationMode): self * @param int $lockMode * @psalm-param LockMode::* $lockMode * + * @return $this + * * @throws TransactionRequiredException */ public function setLockMode($lockMode): self