Passed
Push — Auth ( e088d1...64a80e )
by Stone
01:56
created
App/Models/UserModel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
         $this->bind(':roles_idroles', 1);
101 101
         $this->execute();
102 102
 
103
-        return (int)$this->dbh->lastInsertId();
103
+        return (int) $this->dbh->lastInsertId();
104 104
 
105 105
     }
106 106
 }
107 107
\ No newline at end of file
Please login to merge, or discard this patch.
App/Controllers/Login.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     private function populateUserFromId(int $userId)
61 61
     {
62 62
         $result = $this->userModel->getUserDetailsById($userId);
63
-        $this->populateUser((array)$result);
63
+        $this->populateUser((array) $result);
64 64
     }
65 65
 
66 66
     /**
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     private function populateUserFromMail(string $email)
72 72
     {
73 73
         $result = $this->userModel->getUserDetailsByEmail($email);
74
-        $this->populateUser((array)$result);
74
+        $this->populateUser((array) $result);
75 75
     }
76 76
 
77 77
     /**
Please login to merge, or discard this patch.