Completed
Push — master ( 96fcc0...6de2c5 )
by Adrian
02:17
created
src/Manticoresearch/Endpoints/Nodes/Set.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
18 18
         $this->_body = $params;
19 19
         if (isset($params['variable']) && is_array($params['variable'])) {
20 20
             return parent::setBody([
21
-                'query' =>  "SET " . (isset($params['type']) ?  $params['type'] . "'" : "")." ".
22
-                    $params['variable']['name']."=" . $params['variable']['value']
21
+                'query' =>  "SET " . (isset($params['type']) ? $params['type'] . "'" : "") . " " .
22
+                    $params['variable']['name'] . "=" . $params['variable']['value']
23 23
             ]);
24 24
 
25 25
         }
Please login to merge, or discard this patch.