Skip to content

Commit

Permalink
Add return to removeMethodTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
aivus committed May 13, 2015
1 parent 900b55d commit 6a98f03
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Doctrine/ORM/Tools/EntityGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,12 @@ public function <methodName>(<methodTypeHint>$<variableName>)
* <description>
*
* @param <variableType> $<variableName>
*
* @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
*/
public function <methodName>(<methodTypeHint>$<variableName>)
{
<spaces>$this-><fieldName>->removeElement($<variableName>);
<spaces>return $this-><fieldName>->removeElement($<variableName>);
}';

/**
Expand Down

0 comments on commit 6a98f03

Please sign in to comment.