Completed
Push — master ( 013cb5...236a20 )
by Rafael
02:35
created
tests/Array2ObjectTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     public function testArray2Object()
20 20
     {
21 21
         $teamArray = [
22
-            'id' => 1,//read-only
22
+            'id' => 1, //read-only
23 23
             'name' => 'Dream Team',
24 24
             'Manager' => [
25 25
                 'name' => 'Big Manager',
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
         //register custom parser
58 58
         $array2Object = Array2ObjectBuilder::create()->addParser(
59 59
             new CallableParser(
60
-                function ($value, $type, \ReflectionProperty $property, $object) {
60
+                function($value, $type, \ReflectionProperty $property, $object) {
61 61
                     if ($property->getName() === 'salary') {
62 62
                         $value = str_replace('$', null, $value);
63 63
                     }
Please login to merge, or discard this patch.