@@ -9,8 +9,8 @@ |
||
9 | 9 | public static function flatten(array $array, string $prefix = ''): array |
10 | 10 | { |
11 | 11 | $result = array(); |
12 | - foreach($array as $key=>$value) { |
|
13 | - if(is_array($value)) { |
|
12 | + foreach ($array as $key=>$value) { |
|
13 | + if (is_array($value)) { |
|
14 | 14 | $result = $result + self::flatten($value, $prefix . $key . '.'); |
15 | 15 | } |
16 | 16 | else { |