Doctrine 2 - ORM

[GH-571] Update lib/Doctrine/ORM/EntityRepository.php