Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Some PHP-CS fixes

  • Loading branch information...
commit 2abb4597704f5bcaec7695ded480352a97201557 1 parent 7b75849
Ph3nol authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/Doctrine/ORM/EntityRepository.php
View
6 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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.