Completed
Push — master ( f5a7e5...2d88d1 )
by Adrian
02:22
created
src/Manticoresearch/Endpoints/Keywords.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     public function setBody($params = null)
16 16
     {
17 17
         if (isset($this->_index)) {
18
-            $binds =[];
18
+            $binds = [];
19 19
             $binds[] = "'" . Utils::escape($params['query']) . "'";
20 20
             $binds[] = "'" . $this->_index . "'";
21 21
             if (count($params['options']) > 0) {
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
                     $binds[] = "$value AS $name";
24 24
                 }
25 25
             }
26
-            return parent::setBody( ['query' => "CALL KEYWORDS(" . implode(",", $binds) . ")"]);
26
+            return parent::setBody(['query' => "CALL KEYWORDS(" . implode(",", $binds) . ")"]);
27 27
         }
28 28
         throw new RuntimeException('Index name is missing.');
29 29
 
Please login to merge, or discard this patch.
src/Manticoresearch/Endpoints/Suggest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     public function setBody($params = null)
15 15
     {
16 16
         if (isset($this->_index)) {
17
-            $binds =[];
17
+            $binds = [];
18 18
             $binds[] = "'" . Utils::escape($params['query']) . "'";
19 19
             $binds[] = "'" . $this->_index . "'";
20 20
             if (count($params['options']) > 0) {
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
                     $binds[] = "$value AS $name";
23 23
                 }
24 24
             }
25
-            return parent::setBody( ['query' => "CALL SUGGEST(" . implode(",", $binds) . ")"]);
25
+            return parent::setBody(['query' => "CALL SUGGEST(" . implode(",", $binds) . ")"]);
26 26
         }
27 27
         throw new RuntimeException('Index name is missing.');
28 28
     }
Please login to merge, or discard this patch.
src/Manticoresearch/Endpoints/Indices/FlushRamchunk.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     {
21 21
 
22 22
         if (isset($this->_index)) {
23
-            return parent::setBody(['query' => "FLUSH RAMCHUNK ".$this->_index]);
23
+            return parent::setBody(['query' => "FLUSH RAMCHUNK " . $this->_index]);
24 24
         }
25 25
         throw new RuntimeException('Index name is missing.');
26 26
     }
Please login to merge, or discard this patch.