Completed
Push — master ( 72034f...682e6e )
by Afshin
08:19 queued 06:02
created
core/Translator/Translator.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * @var ContainerInterface $setting
17 17
      *
18
-    */
18
+     */
19 19
     public function init()
20 20
     {
21 21
         $setting = $this->settings['translation'];
Please login to merge, or discard this patch.
core/Services/AuthService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,14 +24,14 @@
 block discarded – undo
24 24
         return isset($_SESSION['user']);
25 25
     }
26 26
 
27
-    public function attempt(string $username,string $password)
27
+    public function attempt(string $username, string $password)
28 28
     {
29 29
         $user = UserDataAccess::getUserLoginField($username)->first();
30 30
 
31 31
         if (!$user) {
32 32
             return false;
33 33
         }
34
-        if (password_verify($password,'')) {
34
+        if (password_verify($password, '')) {
35 35
             $_SESSION['user'] = $user->id;
36 36
             return true;
37 37
         }
Please login to merge, or discard this patch.