From 3b023fb4d277eb51966a610d3ad76d3d14d9b4e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simonas=20=C5=A0erlinskas?= <simonas.serlinskas@nfq.com> Date: Tue, 11 Aug 2015 10:49:22 +0300 Subject: [PATCH] added return statement to addToBool function --- src/SearchEndpoint/QueryEndpoint.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SearchEndpoint/QueryEndpoint.php b/src/SearchEndpoint/QueryEndpoint.php index eef6822..5c309c9 100644 --- a/src/SearchEndpoint/QueryEndpoint.php +++ b/src/SearchEndpoint/QueryEndpoint.php @@ -76,7 +76,7 @@ class QueryEndpoint extends AbstractSearchEndpoint implements OrderedNormalizerI $this->bool = $this->getBoolInstance(); } - $this->bool->add($builder, $boolType, $key); + return $this->bool->add($builder, $boolType, $key); } /** -- GitLab