[DoctrineBundle] Fixing error per @stloyd
This commit is contained in:
parent
28dcb3c581
commit
1ac4675e32
@ -115,7 +115,7 @@ class Registry
|
||||
* @param string $entityManagerNAme The entity manager name (null for the default one)
|
||||
* @return Doctrine\ORM\EntityRepository
|
||||
*/
|
||||
public function getRepository($entityName, $entityManagerName)
|
||||
public function getRepository($entityName, $entityManagerName = null)
|
||||
{
|
||||
return $this->getEntityManager($entityManagerName)
|
||||
->getRespository($entityName);
|
||||
|
Reference in New Issue
Block a user