We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2a26a4 commit dc315c8Copy full SHA for dc315c8
src/Query/MatchQuery.php
@@ -29,13 +29,8 @@ public function build(): array
29
{
30
$build = parent::build();
31
32
- if (null !== $this->operator) {
33
- $this->buildOperatorTo($build[$this->getQueryName()][$this->field]);
34
- }
35
-
36
- if (null !== $this->minimumShouldMatch) {
37
- $this->buildMinimumShouldMatchTo($build[$this->getQueryName()][$this->field]);
38
+ $this->buildOperatorTo($build[$this->getQueryName()][$this->field]);
+ $this->buildMinimumShouldMatchTo($build[$this->getQueryName()][$this->field]);
39
40
return $build;
41
}
0 commit comments