Completed
Push — master ( 013cb5...236a20 )
by Rafael
02:35
created
src/Utils.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
             $props_arr[$f] = $prop;
32 32
         }
33 33
         if ($parentClass = $refClass->getParentClass()) {
34
-            $parent_props_arr = static::getClassProperties($parentClass);//RECURSION
34
+            $parent_props_arr = static::getClassProperties($parentClass); //RECURSION
35 35
             if (count($parent_props_arr) > 0) {
36 36
                 $props_arr = array_merge($parent_props_arr, $props_arr);
37 37
             }
Please login to merge, or discard this patch.
tests/Naming/CallableNamingStrategyTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     public function testTransformName()
17 17
     {
18 18
         $strategy = new CallableNamingStrategy(
19
-            function ($name) {
19
+            function($name) {
20 20
                 return strtoupper($name);
21 21
             }
22 22
         );
Please login to merge, or discard this patch.
src/Object2Array.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
             $array = $object->__toArray();
66 66
             array_walk_recursive(
67 67
                 $array,
68
-                function (&$item) {
68
+                function(&$item) {
69 69
                     if (is_object($item)) {
70 70
                         $item = $this->createArray($item);
71 71
                     }
Please login to merge, or discard this patch.