[DDC-2055] Fix CS
This commit is contained in:
parent
913377e31b
commit
a47359e3f5
@ -116,7 +116,7 @@ class ResultSetMappingBuilder extends ResultSetMapping
|
|||||||
protected function addAllClassFields($class, $alias, $columnAliasMap = array())
|
protected function addAllClassFields($class, $alias, $columnAliasMap = array())
|
||||||
{
|
{
|
||||||
$classMetadata = $this->em->getClassMetadata($class);
|
$classMetadata = $this->em->getClassMetadata($class);
|
||||||
$platform = $this->em->getConnection()->getDatabasePlatform();
|
$platform = $this->em->getConnection()->getDatabasePlatform();
|
||||||
|
|
||||||
if ($classMetadata->isInheritanceTypeSingleTable() || $classMetadata->isInheritanceTypeJoined()) {
|
if ($classMetadata->isInheritanceTypeSingleTable() || $classMetadata->isInheritanceTypeJoined()) {
|
||||||
throw new \InvalidArgumentException('ResultSetMapping builder does not currently support inheritance.');
|
throw new \InvalidArgumentException('ResultSetMapping builder does not currently support inheritance.');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user