Merge pull request #1036 from albertvolkman/entity-mapper-remove-extra-space
Move space addition to implementation.
This commit is contained in:
commit
b421d03f69
@ -1163,7 +1163,7 @@ public function __construct()
|
|||||||
|
|
||||||
$methodTypeHint = null;
|
$methodTypeHint = null;
|
||||||
$types = Type::getTypesMap();
|
$types = Type::getTypesMap();
|
||||||
$variableType = $typeHint ? $this->getType($typeHint) . ' ' : null;
|
$variableType = $typeHint ? $this->getType($typeHint) : null;
|
||||||
|
|
||||||
if ($typeHint && ! isset($types[$typeHint])) {
|
if ($typeHint && ! isset($types[$typeHint])) {
|
||||||
$variableType = '\\' . ltrim($variableType, '\\');
|
$variableType = '\\' . ltrim($variableType, '\\');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user