Skip to content

Commit

Permalink
Merge pull request #1036 from albertvolkman/entity-mapper-remove-extr…
Browse files Browse the repository at this point in the history
…a-space

Move space addition to implementation.
  • Loading branch information
Ocramius committed May 21, 2014
2 parents 7debf73 + 49bca51 commit b421d03
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Doctrine/ORM/Tools/EntityGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ public function <methodName>()
'/**
* <description>
*
* @param <variableType>$<variableName>
* @param <variableType> $<variableName>
*
* @return <entity>
*/
Expand All @@ -251,7 +251,7 @@ public function <methodName>(<methodTypeHint>$<variableName><variableDefault>)
'/**
* <description>
*
* @param <variableType>$<variableName>
* @param <variableType> $<variableName>
*
* @return <entity>
*/
Expand All @@ -269,7 +269,7 @@ public function <methodName>(<methodTypeHint>$<variableName>)
'/**
* <description>
*
* @param <variableType>$<variableName>
* @param <variableType> $<variableName>
*/
public function <methodName>(<methodTypeHint>$<variableName>)
{
Expand Down Expand Up @@ -1163,7 +1163,7 @@ protected function generateEntityStubMethod(ClassMetadataInfo $metadata, $type,

$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, '\\');
Expand Down

0 comments on commit b421d03

Please sign in to comment.