@@ -19,7 +19,7 @@ discard block |
||
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 |
||
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; |