diff --git a/lib/Doctrine/ORM/EntityRepository.php b/lib/Doctrine/ORM/EntityRepository.php index a3fcf0aff..7ba60b71e 100644 --- a/lib/Doctrine/ORM/EntityRepository.php +++ b/lib/Doctrine/ORM/EntityRepository.php @@ -300,7 +300,7 @@ class EntityRepository implements ObjectRepository, Selectable * * @return mixed */ - private function resolveMagicCall($method, $by, array $arguments = []) + private function resolveMagicCall($method, $by, array $arguments) { $argsCount = count($arguments);