Passed
Branch master (cbfe49)
by Manuel
04:34
created
Category
src/Response/Response.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.