diff --git a/lib/Doctrine/ORM/Tools/EntityGenerator.php b/lib/Doctrine/ORM/Tools/EntityGenerator.php index c040dff57..918e4162b 100644 --- a/lib/Doctrine/ORM/Tools/EntityGenerator.php +++ b/lib/Doctrine/ORM/Tools/EntityGenerator.php @@ -751,7 +751,7 @@ public function __construct() return true; } } - + // check traits for existing method foreach ($this->getTraits($metadata) as $trait) { if ($trait->hasMethod($method)) {