diff --git a/lib/Doctrine/ORM/Tools/EntityGenerator.php b/lib/Doctrine/ORM/Tools/EntityGenerator.php index d7f225145..80e67a7b1 100644 --- a/lib/Doctrine/ORM/Tools/EntityGenerator.php +++ b/lib/Doctrine/ORM/Tools/EntityGenerator.php @@ -233,7 +233,7 @@ public function () '/** * * - * @param $ + * @param $ * * @return */ @@ -251,7 +251,7 @@ public function ($) '/** * * - * @param $ + * @param $ * * @return */ @@ -269,7 +269,7 @@ public function ($) '/** * * - * @param $ + * @param $ */ public function ($) { @@ -1163,7 +1163,7 @@ public function __construct() $methodTypeHint = null; $types = Type::getTypesMap(); - $variableType = $typeHint ? $this->getType($typeHint) . ' ' : null; + $variableType = $typeHint ? $this->getType($typeHint) : null; if ($typeHint && ! isset($types[$typeHint])) { $variableType = '\\' . ltrim($variableType, '\\');