diff --git a/lib/Doctrine/ORM/Tools/EntityGenerator.php b/lib/Doctrine/ORM/Tools/EntityGenerator.php index 915675712..0f369c4d0 100644 --- a/lib/Doctrine/ORM/Tools/EntityGenerator.php +++ b/lib/Doctrine/ORM/Tools/EntityGenerator.php @@ -128,10 +128,12 @@ public function ($) * * * @param $ + * @return */ public function ($) { $this->[] = $; +return $this; }'; private static $_lifecycleCallbackMethodTemplate =