Completed
Push — master ( b25384...a9cbe2 )
by Adrian
01:51
created
src/Manticoresearch/Endpoints/ExplainQuery.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,9 +17,9 @@
 block discarded – undo
17 17
     public function setBody($params = null)
18 18
     {
19 19
         if (isset($this->_index)) {
20
-            if(isset($params['query']))
20
+            if (isset($params['query']))
21 21
             {
22
-                return parent::setBody(['query' => "EXPLAIN QUERY ".$this->_index. '\''.$params['query'].'\'']);
22
+                return parent::setBody(['query' => "EXPLAIN QUERY " . $this->_index . '\'' . $params['query'] . '\'']);
23 23
             }
24 24
             throw new RuntimeException('Query param is missing.');
25 25
         }
Please login to merge, or discard this patch.