Procházet zdrojové kódy

[DoctrineBundle] fixed typo

Fabien Potencier před 14 roky
rodič
revize
a1d866e709
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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);
     }
 
     /**