Permalink
Browse files

Clarify EntityManager#transactional() docblock

  • Loading branch information...
1 parent dc0a03a commit 53b3030aa2da893f11ee4cfbadad27e7827d871a @beberlei beberlei committed Nov 19, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Doctrine/ORM/EntityManager.php
@@ -199,6 +199,7 @@ public function beginTransaction()
* the transaction is rolled back, the EntityManager closed and the exception re-thrown.
*
* @param Closure $func The function to execute transactionally.
+ * @return mixed Returns the non-empty value returned from the closure or true instead
*/
public function transactional(Closure $func)
{

0 comments on commit 53b3030

Please sign in to comment.