Skip to content

Commit

Permalink
Add missing EntityManagerInterface argument to callable that is being…
Browse files Browse the repository at this point in the history
… passed to `EM::wrapInTransaction()`
  • Loading branch information
simPod committed Aug 22, 2021
1 parent 14da92c commit 0d6ff23
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 0d6ff23

Please sign in to comment.