diff --git a/src/SearchEndpoint/QueryEndpoint.php b/src/SearchEndpoint/QueryEndpoint.php index eef6822622543a090f7bc114a9eb9d45fb8da572..5c309c9d627a7900710c424df6f3f5b12c3fb719 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); } /**