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. *