Permalink
Browse files

[DoctrineBundle] fixed typo

  • Loading branch information...
fabpot committed Jun 6, 2011
1 parent a98046d commit a1d866e709cef62f2b9b44a4959574984ab86ab7
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Symfony/Bundle/DoctrineBundle/Registry.php
@@ -113,12 +113,12 @@ public function getEntityManager($name = null)
*
* @param string $entityName The name of the entity.
* @param string $entityManagerNAme The entity manager name (null for the default one)
+ *
* @return Doctrine\ORM\EntityRepository
*/
public function getRepository($entityName, $entityManagerName = null)
{
- return $this->getEntityManager($entityManagerName)
- ->getRespository($entityName);
+ return $this->getEntityManager($entityManagerName)->getRepository($entityName);
}
/**

0 comments on commit a1d866e

Please sign in to comment.