Fixed compatibility with Doctrine2's createQueryBuilder method (it should be called with a mandatory parameter).

This commit is contained in:
Borbás Imre Sándor 2011-07-02 17:52:40 +02:00
parent eb8d009eec
commit 071fd29fbe

View file

@ -44,6 +44,6 @@ class Provider extends AbstractProvider
**/
protected function createQueryBuilder()
{
return $this->objectManager->getRepository($this->objectClass)->{$this->options['query_builder_method']}();
return $this->objectManager->getRepository($this->objectClass)->{$this->options['query_builder_method']}('a');
}
}