Skip to content
Snippets Groups Projects
Unverified Commit baace952 authored by Simonas Šerlinskas's avatar Simonas Šerlinskas
Browse files

fix psr2 style issue

parent 370693dd
No related branches found
No related tags found
No related merge requests found
...@@ -75,8 +75,7 @@ class TermsSetQuery implements BuilderInterface ...@@ -75,8 +75,7 @@ class TermsSetQuery implements BuilderInterface
private function validateParameters(array $parameters) private function validateParameters(array $parameters)
{ {
if ( if (!isset($parameters[self::MINIMUM_SHOULD_MATCH_TYPE_FIELD]) &&
!isset($parameters[self::MINIMUM_SHOULD_MATCH_TYPE_FIELD]) &&
!isset($parameters[self::MINIMUM_SHOULD_MATCH_TYPE_SCRIPT]) !isset($parameters[self::MINIMUM_SHOULD_MATCH_TYPE_SCRIPT])
) { ) {
$message = "Either minimum_should_match_field or minimum_should_match_script must be set."; $message = "Either minimum_should_match_field or minimum_should_match_script must be set.";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment