Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

Some PHP-CS fixes
  • Loading branch information...
commit 8bb4f53447f6cde1903299a90a8267f9682fb8b8 2 parents 1e6508d + 2abb459
Guilherme Blanco guilhermeblanco authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/Doctrine/ORM/EntityRepository.php
6 lib/Doctrine/ORM/EntityRepository.php
View
@@ -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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.