Passed
Push — Admin-section ( ed5398...dfce56 )
by Stone
02:29
created
App/Controllers/Login.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,9 +40,9 @@
 block discarded – undo
40 40
         $this->container->getResponse()->redirect();
41 41
     }
42 42
 
43
-    public function whoami(){
43
+    public function whoami() {
44 44
         $userType = $this->auth->getUser();
45
-        if (is_null($userType)){
45
+        if (is_null($userType)) {
46 46
             $userType = 'Not Set';
47 47
         }
48 48
         $this->alertBox->setAlert($userType);
Please login to merge, or discard this patch.
App/Controllers/Admin/Home.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
         } elseif ($this->auth->isUser()) {
16 16
             $this->data['userRole'] = 'User';
17 17
             $this->data['userLevel'] = $this->auth->getUserLevel();
18
-        }else {
18
+        } else {
19 19
             $this->alertBox->setAlert("You must be connected to acces the admin interface", 'warning');
20 20
             $this->container->getResponse()->redirect();
21 21
         }
Please login to merge, or discard this patch.