Passed
Push — main ( 984178...6cf14e )
by BRUNO
53s queued 16s
created
src/ModelAbstract.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,8 +106,9 @@
 block discarded – undo
106 106
         if (is_array($data) || is_object($data)) {
107 107
             $result = [];
108 108
             foreach ($data as $key => $value) {
109
-                if(strlen($value) > 0)
110
-                    $result[$key] = (is_array($value) || is_object($value)) ? $this->toMap($value) : $value;
109
+                if(strlen($value) > 0) {
110
+                                    $result[$key] = (is_array($value) || is_object($value)) ? $this->toMap($value) : $value;
111
+                }
111 112
             }
112 113
 
113 114
             return $result;
Please login to merge, or discard this patch.