Completed
Push — devel ( 9422b1...d1cca5 )
by Alexey
01:53
created
src/Bardex/Elastic/Query.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -353,7 +353,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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),
Please login to merge, or discard this patch.