From 1d795a53c49a2b6d3af696dc7ca38ce27c8a67e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simonas=20=C5=A0erlinskas?= <simonas.serlinskas@nfq.com> Date: Mon, 10 Aug 2015 09:58:09 +0300 Subject: [PATCH] fixed bool instance creating function name --- src/SearchEndpoint/QueryEndpoint.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SearchEndpoint/QueryEndpoint.php b/src/SearchEndpoint/QueryEndpoint.php index 52f5059..eef6822 100644 --- a/src/SearchEndpoint/QueryEndpoint.php +++ b/src/SearchEndpoint/QueryEndpoint.php @@ -73,7 +73,7 @@ class QueryEndpoint extends AbstractSearchEndpoint implements OrderedNormalizerI public function addToBool(BuilderInterface $builder, $boolType = null, $key = null) { if (!$this->bool) { - $this->bool = $this->createBoolInstance(); + $this->bool = $this->getBoolInstance(); } $this->bool->add($builder, $boolType, $key); @@ -100,7 +100,7 @@ class QueryEndpoint extends AbstractSearchEndpoint implements OrderedNormalizerI * * @return BoolQuery */ - protected function createBoolInstance() + protected function getBoolInstance() { return new BoolQuery(); } -- GitLab