Passed
Push — develop ( 21093a...55b8d2 )
by Ollie
03:49 queued 12s
created
src/JWTGuard.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
 
186 186
     public function getCookieName(): string
187 187
     {
188
-        return 'login_' . $this->name . '_' . sha1(static::class);
188
+        return 'login_'.$this->name.'_'.sha1(static::class);
189 189
     }
190 190
 
191 191
     /**
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
      */
198 198
     public function getCookieJar(): CookieJar
199 199
     {
200
-        if (! isset($this->cookie)) {
200
+        if ( ! isset($this->cookie)) {
201 201
             throw new RuntimeException('Cookie jar has not been set.');
202 202
         }
203 203
 
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
             $validator->setAudience(config('app.url'));
281 281
             $validator->setIssuer(config('app.url'));
282 282
 
283
-            if (! $token->validate($validator)) {
283
+            if ( ! $token->validate($validator)) {
284 284
                 return false;
285 285
             }
286 286
 
@@ -357,7 +357,7 @@  discard block
 block discarded – undo
357 357
 
358 358
         $token = (new Parser)->parse($jwt);
359 359
 
360
-        if (! $this->validateToken($token)) {
360
+        if ( ! $this->validateToken($token)) {
361 361
             return null;
362 362
         }
363 363
 
Please login to merge, or discard this patch.