@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | |
186 | 186 | $token = (new Parser)->parse($jwt); |
187 | 187 | |
188 | - if (! $this->validateToken($token)) { |
|
188 | + if ( ! $this->validateToken($token)) { |
|
189 | 189 | return null; |
190 | 190 | } |
191 | 191 | |
@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | $validator->setAudience(config('app.url')); |
206 | 206 | $validator->setIssuer(config('app.url')); |
207 | 207 | |
208 | - if (! $token->validate($validator)) { |
|
208 | + if ( ! $token->validate($validator)) { |
|
209 | 209 | return false; |
210 | 210 | } |
211 | 211 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | { |
13 | 13 | // Register the JWT driver with Laravel |
14 | 14 | $auth = $this->app->make(AuthManager::class); |
15 | - $auth->extend('jwt', function (Application $app, string $name, array $config) use ($auth) { |
|
15 | + $auth->extend('jwt', function(Application $app, string $name, array $config) use ($auth) { |
|
16 | 16 | $guard = new JWTGuard($auth->createUserProvider($config['provider'] ?? null), $name, $config); |
17 | 17 | $guard |
18 | 18 | // Set the request instance on the guard |