Completed
Push — master ( 308b59...2472b9 )
by Roman
02:13
created
src/Guard.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         // If we've already retrieved the user for the current request we can just
91 91
         // return it back immediately. We do not want to fetch the user data on
92 92
         // every call to this method because that would be tremendously slow.
93
-        if (! is_null($this->user)) {
93
+        if (!is_null($this->user)) {
94 94
             return $this->user;
95 95
         }
96 96
 
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 
99 99
         $token = $this->token();
100 100
 
101
-        if (! is_null($token)) {
101
+        if (!is_null($token)) {
102 102
             $user = $this->provider->retrieveById($token->getClaim('sub'));
103 103
         }
104 104
 
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
         $builder->setSubject($id);
182 182
 
183 183
         if ($user instanceof ProvidesCredentials) {
184
-            foreach($user->getCredentials() as $key => $value) {
184
+            foreach ($user->getCredentials() as $key => $value) {
185 185
                 $builder->set($key, $value);
186 186
             }
187 187
         }
Please login to merge, or discard this patch.