Completed
Push — master ( ff70ce...f7d289 )
by Stefan
02:30
created
src/Model/AbstractModel.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,12 +18,12 @@  discard block
 block discarded – undo
18 18
     {
19 19
         $values = call_user_func('get_object_vars', $this);
20 20
 
21
-        foreach($values as $key => $value) {
21
+        foreach ($values as $key => $value) {
22 22
             if (!$value instanceof Collection) {
23 23
                 continue;
24 24
             }
25 25
 
26
-            foreach($value as $subKey => $subValue) {
26
+            foreach ($value as $subKey => $subValue) {
27 27
                 if (!is_array($subValue)) {
28 28
                     $subValue = $subValue->toArray();
29 29
                 }
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
             }
33 33
         }
34 34
 
35
-        return array_filter($values, function ($item) {
35
+        return array_filter($values, function($item) {
36 36
             if ($item instanceof Collection) {
37 37
                 return !$item->isEmpty();
38 38
             }
Please login to merge, or discard this patch.