Browse Source

[DoctrineBundle] fixed typo

Fabien Potencier 14 years ago
parent
commit
a1d866e709
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Symfony/Bundle/DoctrineBundle/Registry.php

+ 2 - 2
src/Symfony/Bundle/DoctrineBundle/Registry.php

@@ -113,12 +113,12 @@ class Registry
      *
      * @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);
     }
 
     /**