@@ -185,7 +185,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
@@ -13,7 +13,7 @@ |
||
13 | 13 | { |
14 | 14 | // Register the JWT driver with Laravel |
15 | 15 | $auth = $this->app->make(AuthManager::class); |
16 | - $auth->extend('jwt', function (Application $app, string $name, array $config) use ($auth) { |
|
16 | + $auth->extend('jwt', function(Application $app, string $name, array $config) use ($auth) { |
|
17 | 17 | $provider = $auth->createUserProvider($config['provider'] ?? null); |
18 | 18 | |
19 | 19 | if ($provider === null) { |