Passed
Push — 1214-json-fields ( b643be...7d644a )
by Harings
10:38
created
src/Repositories/Behaviors/HandleFieldsGroups.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,8 +86,7 @@
 block discarded – undo
86 86
                 }
87 87
 
88 88
                 $fields = array_merge($fields, $translatedData);
89
-            }
90
-            else if ($object->$group) {
89
+            } else if ($object->$group) {
91 90
                 $casts = $this->getModelCasts($object);
92 91
                 if (array_key_exists($group, $casts) && $casts[$group] === 'array') {
93 92
                     $decoded_fields = $object->$group;
Please login to merge, or discard this patch.