Passed
Pull Request — master (#33)
by
unknown
19:38
created
app/Http/Controllers/Core/Controller.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -234,8 +234,7 @@
 block discarded – undo
234 234
                             //     $currentClass = 'class="green-text"';
235 235
                             // }
236 236
                             return '<li><a href="'.ucroute('uccello.home', $node).'" '.$currentClass.'>'.$node->name.'</a>{sub-tree}</li>';
237
-                        }
238
-                        elseif (auth()->user()->hasRoleOnDescendantDomain($node)) {
237
+                        } elseif (auth()->user()->hasRoleOnDescendantDomain($node)) {
239 238
                             return '<li>'.$node->name.'{sub-tree}</li>';
240 239
                         } else {
241 240
                             return '';
Please login to merge, or discard this patch.
app/Models/Filter.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,8 +82,7 @@
 block discarded – undo
82 82
             {
83 83
                 if (empty($data['conditions'])) {
84 84
                     $data['conditions'] = [];
85
-                }
86
-                else {
85
+                } else {
87 86
                     $data['conditions'] = (array) $data['conditions'];
88 87
                 }
89 88
 
Please login to merge, or discard this patch.