From 2abb4597704f5bcaec7695ded480352a97201557 Mon Sep 17 00:00:00 2001 From: Ph3nol Date: Mon, 11 Jun 2012 12:39:18 +0200 Subject: [PATCH] Some PHP-CS fixes --- lib/Doctrine/ORM/EntityRepository.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Doctrine/ORM/EntityRepository.php b/lib/Doctrine/ORM/EntityRepository.php index d8b81108a..77f367a43 100644 --- a/lib/Doctrine/ORM/EntityRepository.php +++ b/lib/Doctrine/ORM/EntityRepository.php @@ -61,8 +61,8 @@ class EntityRepository implements ObjectRepository public function __construct($em, Mapping\ClassMetadata $class) { $this->_entityName = $class->name; - $this->_em = $em; - $this->_class = $class; + $this->_em = $em; + $this->_class = $class; } /** @@ -100,7 +100,7 @@ class EntityRepository implements ObjectRepository $queryMapping = $this->_class->getNamedNativeQuery($queryName); $rsm = new Query\ResultSetMappingBuilder($this->_em); $rsm->addNamedNativeQueryMapping($this->_class, $queryMapping); - + return $this->_em->createNativeQuery($queryMapping['query'], $rsm); }