Test Failed
Push — main ( faba0e...f4494f )
by Dylan
11:34
created
examples/silverstripe-controller.php 1 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.