Completed
Branch feature/phpstanLevel2 (435bc7)
by Schlaefer
02:41
created
src/Controller/Component/AuthUserComponent.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 /**
6 6
  * Saito - The Threaded Web Forum
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
         }
137 137
 
138 138
         //= set persistent Cookie
139
-        $setCookie = (bool)$this->request->getData('remember_me');
139
+        $setCookie = (bool) $this->request->getData('remember_me');
140 140
         if ($setCookie) {
141 141
             (new CurrentUserCookie($this->getController()))->write($this->CurrentUser->getId());
142 142
         };
Please login to merge, or discard this patch.
src/Lib/Saito/User/LastRefresh/LastRefreshCookie.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 /**
6 6
  * Saito - The Threaded Web Forum
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
             if (empty($this->_timestamp)) {
49 49
                 $this->_timestamp = false;
50 50
             } else {
51
-                $this->_timestamp = (int)$this->_timestamp;
51
+                $this->_timestamp = (int) $this->_timestamp;
52 52
             }
53 53
         }
54 54
 
Please login to merge, or discard this patch.