1
0
Fork 0
mirror of synced 2025-04-04 13:53:36 +03:00

[2.0][DDC-464] Fixes issue with EntityGenerator and the class extends syntax

This commit is contained in:
jwage 2010-03-28 17:46:23 +00:00
parent 24d8e94280
commit 21c1952b89

View file

@ -318,7 +318,7 @@ public function <methodName>()
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)