1
0
mirror of synced 2025-01-18 22:41:43 +03:00

[DDC-2055] Fix CS

This commit is contained in:
Benjamin Eberlei 2012-10-04 20:18:10 +02:00
parent 913377e31b
commit a47359e3f5

View File

@ -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.');