Completed
Push — master ( 05713c...247892 )
by Gareth
02:47
created
src/API/Type.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
         }
126 126
 
127 127
         if (is_array($property)) {
128
-            $property = array_map(function ($property) {
128
+            $property = array_map(function($property) {
129 129
                 if ($property instanceof Type) {
130 130
                     return $property->toXmlObject();
131 131
                 }
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
                 // The value is an array that may use objects as values. Iterate
156 156
                 // over the array and clone any values that are objects into a
157 157
                 // new array.
158
-                $this->$property = array_map(function ($value) {
158
+                $this->$property = array_map(function($value) {
159 159
                     return clone $value;
160 160
                 }, $value);
161 161
 
Please login to merge, or discard this patch.