Passed
Push — develop ( 009926...78c094 )
by Ollie
05:20 queued 11s
created
src/JWTGuard.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
 
184 184
     public function getCookieName(): string
185 185
     {
186
-        return 'login_' . $this->name . '_' . sha1(static::class);
186
+        return 'login_'.$this->name.'_'.sha1(static::class);
187 187
     }
188 188
 
189 189
     /**
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
      */
196 196
     public function getCookieJar(): CookieJar
197 197
     {
198
-        if (! isset($this->cookie)) {
198
+        if ( ! isset($this->cookie)) {
199 199
             throw new RuntimeException('Cookie jar has not been set.');
200 200
         }
201 201
 
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
         $validator->setAudience(config('app.url'));
250 250
         $validator->setIssuer(config('app.url'));
251 251
 
252
-        if (! $token->validate($validator)) {
252
+        if ( ! $token->validate($validator)) {
253 253
             return false;
254 254
         }
255 255
 
@@ -321,7 +321,7 @@  discard block
 block discarded – undo
321 321
 
322 322
         $token = (new Parser)->parse($jwt);
323 323
 
324
-        if (! $this->validateToken($token)) {
324
+        if ( ! $this->validateToken($token)) {
325 325
             return null;
326 326
         }
327 327
 
Please login to merge, or discard this patch.