Skip to content

Commit

Permalink
[DoctrineBundle] fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jun 6, 2011
1 parent a98046d commit a1d866e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Symfony/Bundle/DoctrineBundle/Registry.php
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit a1d866e

Please sign in to comment.