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 370693d commit baace95Copy full SHA for baace95
src/Query/TermLevel/TermsSetQuery.php
@@ -75,8 +75,7 @@ public function toArray()
75
76
private function validateParameters(array $parameters)
77
{
78
- if (
79
- !isset($parameters[self::MINIMUM_SHOULD_MATCH_TYPE_FIELD]) &&
+ if (!isset($parameters[self::MINIMUM_SHOULD_MATCH_TYPE_FIELD]) &&
80
!isset($parameters[self::MINIMUM_SHOULD_MATCH_TYPE_SCRIPT])
81
) {
82
$message = "Either minimum_should_match_field or minimum_should_match_script must be set.";
0 commit comments