Skip to content

Commit

Permalink
Merge pull request #8943 from simPod/wrap-types
Browse files Browse the repository at this point in the history
Add missing EntityManagerInterface argument to callable that is being passed to `EM::wrapInTransaction()`
  • Loading branch information
greg0ire authored Aug 22, 2021
2 parents e546cde + 0d6ff23 commit b20743b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/ORM/EntityManagerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit b20743b

Please sign in to comment.