1
0
mirror of synced 2025-02-04 22:39:27 +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

@ -233,7 +233,7 @@ public function <methodName>()
'/** '/**
* <description> * <description>
* *
* @param <variableType>$<variableName> * @param <variableType> $<variableName>
* *
* @return <entity> * @return <entity>
*/ */
@ -251,7 +251,7 @@ public function <methodName>(<methodTypeHint>$<variableName><variableDefault>)
'/** '/**
* <description> * <description>
* *
* @param <variableType>$<variableName> * @param <variableType> $<variableName>
* *
* @return <entity> * @return <entity>
*/ */
@ -269,7 +269,7 @@ public function <methodName>(<methodTypeHint>$<variableName>)
'/** '/**
* <description> * <description>
* *
* @param <variableType>$<variableName> * @param <variableType> $<variableName>
*/ */
public function <methodName>(<methodTypeHint>$<variableName>) public function <methodName>(<methodTypeHint>$<variableName>)
{ {
@ -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, '\\');