@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | public function __construct($xml) |
31 | 31 | { |
32 | 32 | $array = json_decode(json_encode($xml), true); |
33 | - $array = array_map(function ($value) { |
|
33 | + $array = array_map(function($value) { |
|
34 | 34 | if (is_array($value) && empty($value)) { |
35 | 35 | return ''; |
36 | 36 | } |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | { |
93 | 93 | $data = $this->toArray(); |
94 | 94 | $xml = new \SimpleXMLElement('<GestPayCryptDecrypt/>'); |
95 | - array_walk_recursive($data, function ($value, $key) use ($xml) { |
|
95 | + array_walk_recursive($data, function($value, $key) use ($xml) { |
|
96 | 96 | $xml->addChild($key, $value); |
97 | 97 | }); |
98 | 98 |