Skip to content

Instantly share code, notes, and snippets.

@doctrinebot
Created December 13, 2015 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save doctrinebot/2a82a40bb6c01d24b2ae to your computer and use it in GitHub Desktop.
Save doctrinebot/2a82a40bb6c01d24b2ae to your computer and use it in GitHub Desktop.
Attachments to Doctrine Jira Issue DDC-464 - https://github.com/doctrine/doctrine2/issues/4967
Index: Doctrine/ORM/Tools/EntityGenerator.php
===================================================================
--- Doctrine/ORM/Tools/EntityGenerator.php (revision 7465)
+++ Doctrine/ORM/Tools/EntityGenerator.php (working copy)
@@ -318,7 +318,7 @@
private function _generateEntityClassName(ClassMetadataInfo $metadata)
{
return 'class ' . $this->_getClassName($metadata) .
- ($this->_extendsClass() ? 'extends ' . $this->_getClassToExtendName() : null);
+ ($this->_extendsClass() ? ' extends ' . $this->_getClassToExtendName() : null);
}
private function _generateEntityBody(ClassMetadataInfo $metadata)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment