Merge pull request #11 from imiborbas/master
Typo correction, and Doctrine 2 compatibility fix
This commit is contained in:
commit
47caa92cb4
|
@ -44,6 +44,6 @@ class Provider extends AbstractProvider
|
||||||
**/
|
**/
|
||||||
protected function createQueryBuilder()
|
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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<argument /> <!-- object persister -->
|
<argument /> <!-- object persister -->
|
||||||
<argument /> <!-- model -->
|
<argument /> <!-- model -->
|
||||||
<argument type="collection" /> <!-- events -->
|
<argument type="collection" /> <!-- events -->
|
||||||
<argement type="service" id="logger" on-invalid="null" />
|
<argument type="service" id="logger" on-invalid="null" />
|
||||||
</service>
|
</service>
|
||||||
|
|
||||||
<service id="foq_elastica.elastica_to_model_transformer.prototype.orm" class="FOQ\ElasticaBundle\Doctrine\ORM\ElasticaToModelTransformer" public="false">
|
<service id="foq_elastica.elastica_to_model_transformer.prototype.orm" class="FOQ\ElasticaBundle\Doctrine\ORM\ElasticaToModelTransformer" public="false">
|
||||||
|
|
Loading…
Reference in a new issue