From 6a98f0391d24e8a654bfa8b97c79334986d12cb2 Mon Sep 17 00:00:00 2001 From: Ilya Antipenko Date: Wed, 13 May 2015 14:03:50 +0300 Subject: [PATCH] Add return to removeMethodTemplate --- lib/Doctrine/ORM/Tools/EntityGenerator.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Tools/EntityGenerator.php b/lib/Doctrine/ORM/Tools/EntityGenerator.php index ec83c4e49..0a209bff7 100644 --- a/lib/Doctrine/ORM/Tools/EntityGenerator.php +++ b/lib/Doctrine/ORM/Tools/EntityGenerator.php @@ -277,10 +277,12 @@ public function ($) * * * @param $ + * + * @return boolean TRUE if this collection contained the specified element, FALSE otherwise. */ public function ($) { -$this->->removeElement($); +return $this->->removeElement($); }'; /**