From a1d866e709cef62f2b9b44a4959574984ab86ab7 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Mon, 6 Jun 2011 09:11:02 +0200 Subject: [PATCH] [DoctrineBundle] fixed typo --- src/Symfony/Bundle/DoctrineBundle/Registry.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Bundle/DoctrineBundle/Registry.php b/src/Symfony/Bundle/DoctrineBundle/Registry.php index da8eace1adf2..150784f0e8a8 100644 --- a/src/Symfony/Bundle/DoctrineBundle/Registry.php +++ b/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); } /**