Passed
Push — master ( 1636c4...bcb679 )
by
unknown
04:13
created
src/Manticoresearch/Response/SqlToArray.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 
20 20
         if (isset($response['columns'], $response['data'])) {
21 21
             $data = [];
22
-            array_walk($response['columns'], static function (&$value, $key) {
22
+            array_walk($response['columns'], static function(&$value, $key) {
23 23
                 $value = array_keys($value)[0];
24 24
             });
25 25
             $id = -1;
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
                 } else {
77 77
                     $id++;
78 78
                 }
79
-                $data[$id] = (count($property) == 1)?array_shift($property):$property;
79
+                $data[$id] = (count($property) == 1) ?array_shift($property) : $property;
80 80
             }
81 81
             if (count($data) > 0) {
82 82
                 return $data;
Please login to merge, or discard this patch.