Passed
Push — master ( 75b946...6d07a2 )
by Adrian
07:52
created
src/Manticoresearch/Results/PercolateResultHit.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,8 +14,8 @@
 block discarded – undo
14 14
 
15 15
     public function getDocsMatched($docs)
16 16
     {
17
-        return array_map(function ($v) use ($docs) {
18
-            return $docs[$v - 1];
17
+        return array_map(function($v) use ($docs) {
18
+            return $docs[$v-1];
19 19
         }, $this->data['fields']['_percolator_document_slot']);
20 20
     }
21 21
 }
Please login to merge, or discard this patch.
src/Manticoresearch/Results/PercolateResultDoc.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,6 +31,6 @@
 block discarded – undo
31 31
 
32 32
     public function hasQueries()
33 33
     {
34
-        return count($this->doc['queries'])>0;
34
+        return count($this->doc['queries']) > 0;
35 35
     }
36 36
 }
Please login to merge, or discard this patch.