8000 [DoctrineBundle] fixed typo · liveink/symfony@a1d866e · GitHub
[go: up one dir, main page]

Skip to content

Commit a1d866e

Browse files
committed
[DoctrineBundle] fixed typo
1 parent a98046d commit a1d866e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bundle/DoctrineBundle/Registry.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,12 @@ public function getEntityManager($name = null)
113113
*
114114
* @param string $entityName The name of the entity.
115115
* @param string $entityManagerNAme The entity manager name (null for the default one)
116+
*
116117
* @return Doctrine\ORM\EntityRepository
117118
*/
118119
public function getRepository($entityName, $entityManagerName = null)
119120
{
120-
return $this->getEntityManager($entityManagerName)
121-
->getRespository($entityName);
121+
return $this->getEntityManager($entityManagerName)->getRepository($entityName);
122122
}
123123

124124
/**

0 commit comments

Comments
 (0)
0