Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Some PHP-CS fixes #370

Merged
merged 1 commit into from

3 participants

@Ph3nol

No description provided.

@travisbot

This pull request fails (merged 2abb459 into 7b75849).

@guilhermeblanco guilhermeblanco merged commit 8bb4f53 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 11, 2012
  1. Some PHP-CS fixes

    Ph3nol authored
This page is out of date. Refresh to see the latest.
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);
}
Something went wrong with that request. Please try again.