Permalink
Browse files

Merge pull request #370 from Ph3nol/ph3-phpcs-fixes

Some PHP-CS fixes
  • Loading branch information...
2 parents 1e6508d + 2abb459 commit 8bb4f53447f6cde1903299a90a8267f9682fb8b8 @guilhermeblanco guilhermeblanco committed Jun 15, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 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 @@ public function createNativeNamedQuery($queryName)
$queryMapping = $this->_class->getNamedNativeQuery($queryName);
$rsm = new Query\ResultSetMappingBuilder($this->_em);
$rsm->addNamedNativeQueryMapping($this->_class, $queryMapping);
-
+
return $this->_em->createNativeQuery($queryMapping['query'], $rsm);
}

0 comments on commit 8bb4f53

Please sign in to comment.