@@ -353,7 +353,7 @@ discard block |
||
353 | 353 | */ |
354 | 354 | public function whereMatch($field, $text) |
355 | 355 | { |
356 | - if ( is_array($field) ) { |
|
356 | + if (is_array($field)) { |
|
357 | 357 | $this->filters[] = [ |
358 | 358 | 'multi_match' => [ |
359 | 359 | 'query' => $text, |
@@ -417,7 +417,7 @@ discard block |
||
417 | 417 | $this->totalResults = $result['hits']['total']; |
418 | 418 | |
419 | 419 | // log |
420 | - $index = $this->index . '/' . $this->type; |
|
420 | + $index = $this->index.'/'.$this->type; |
|
421 | 421 | $context = [ |
422 | 422 | 'type' => 'elastic', |
423 | 423 | 'query' => json_encode($query), |