1
0
mirror of synced 2024-12-14 07:06:04 +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())
{
$classMetadata = $this->em->getClassMetadata($class);
$platform = $this->em->getConnection()->getDatabasePlatform();
$platform = $this->em->getConnection()->getDatabasePlatform();
if ($classMetadata->isInheritanceTypeSingleTable() || $classMetadata->isInheritanceTypeJoined()) {
throw new \InvalidArgumentException('ResultSetMapping builder does not currently support inheritance.');