1
0
mirror of synced 2025-01-26 10:01:45 +03:00

Merge pull request #1036 from albertvolkman/entity-mapper-remove-extra-space

Move space addition to implementation.
This commit is contained in:
Marco Pivetta 2014-05-22 00:15:22 +02:00
commit b421d03f69

View File

@ -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, '\\');