Skip to content

Commit

Permalink
Merge pull request #6164 from eyepin/patch-1
Browse files Browse the repository at this point in the history
Update EntityGenerator.php
  • Loading branch information
Ocramius authored Dec 12, 2016
2 parents 2437715 + 521588f commit 6e6be3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/ORM/Tools/EntityGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ public function generateEntityClass(ClassMetadataInfo $metadata)
$this->generateEntityBody($metadata)
];

$code = str_replace($placeHolders, $replacements, static::$classTemplate) . "\n";
$code = str_replace($placeHolders, $replacements, static::$classTemplate);

return str_replace('<spaces>', $this->spaces, $code);
}
Expand Down

0 comments on commit 6e6be3f

Please sign in to comment.