From a47359e3f5a50aecabf0e049aba9bacf9496c3e0 Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Thu, 4 Oct 2012 20:18:10 +0200 Subject: [PATCH] [DDC-2055] Fix CS --- lib/Doctrine/ORM/Query/ResultSetMappingBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Query/ResultSetMappingBuilder.php b/lib/Doctrine/ORM/Query/ResultSetMappingBuilder.php index 7e859ce8d..95cc4cb14 100644 --- a/lib/Doctrine/ORM/Query/ResultSetMappingBuilder.php +++ b/lib/Doctrine/ORM/Query/ResultSetMappingBuilder.php @@ -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.');