From 0d6ff230daf9405de17751ff10dff76291b891ca Mon Sep 17 00:00:00 2001 From: Simon Podlipsky Date: Sun, 22 Aug 2021 17:26:57 +0200 Subject: [PATCH] Add missing EntityManagerInterface argument to callable that is being passed to `EM::wrapInTransaction()` --- lib/Doctrine/ORM/EntityManagerInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/EntityManagerInterface.php b/lib/Doctrine/ORM/EntityManagerInterface.php index 2a4a2a4fbc3..a2f1851d204 100644 --- a/lib/Doctrine/ORM/EntityManagerInterface.php +++ b/lib/Doctrine/ORM/EntityManagerInterface.php @@ -98,7 +98,7 @@ public function transactional($func); * If an exception occurs during execution of the function or flushing or transaction commit, * the transaction is rolled back, the EntityManager closed and the exception re-thrown. * - * @param callable(): T $func The function to execute transactionally. + * @param callable(self): T $func The function to execute transactionally. * * @return T The value returned from the closure. *