Merge pull request #6780 from aequasi/patch-1

getRepository actually returns ObjectRepository
This commit is contained in:
Michael Moravec
2017-12-18 00:40:47 +01:00
committed by GitHub

View File

@@ -709,7 +709,7 @@ use Throwable;
*
* @param string $entityName The name of the entity.
*
* @return \Doctrine\ORM\EntityRepository The repository class.
* @return \Doctrine\Common\Persistence\ObjectRepository|\Doctrine\ORM\EntityRepository The repository class.
*/
public function getRepository($entityName)
{