diff --git a/lib/Doctrine/ORM/Tools/EntityGenerator.php b/lib/Doctrine/ORM/Tools/EntityGenerator.php index e75c3e151..3092a090d 100644 --- a/lib/Doctrine/ORM/Tools/EntityGenerator.php +++ b/lib/Doctrine/ORM/Tools/EntityGenerator.php @@ -200,6 +200,7 @@ public function () public function ($) { $this-> = $; + return $this; }'; @@ -216,6 +217,7 @@ public function ($) public function ($) { $this->[] = $; + return $this; }';