@@ -17,9 +17,9 @@ |
||
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 | } |