Test Failed
Push — main ( f4494f...e6bbad )
by Dylan
13:53 queued 11:15
created
examples/ExampleController.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
             // the current user has access to so that he/she can switch
139 139
             // between them
140 140
             return $this->renderWith('[[Your template]]', [
141
-               'Options' => $options
141
+                'Options' => $options
142 142
             ]);
143 143
 
144 144
 
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,9 @@
 block discarded – undo
115 115
             $sites = $this->app->getSites();
116 116
 
117 117
             // If the user doesn't have access to any Lifeboat site force a re-auth
118
-            if (count($sites) < 1) return $this->reloadAuth();
118
+            if (count($sites) < 1) {
119
+                return $this->reloadAuth();
120
+            }
119 121
 
120 122
             // If the user only has access to one Lifeboat site then automatically use that
121 123
             if (count($sites) === 1) {
Please login to merge, or discard this patch.