@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | |
| 18 | 18 | private function registerIssuer(): void |
| 19 | 19 | { |
| 20 | - $this->app->bind(Issuer::class, function () { |
|
| 20 | + $this->app->bind(Issuer::class, function() { |
|
| 21 | 21 | $config = $this->app->get('config'); |
| 22 | 22 | |
| 23 | 23 | $pool = $config->get('auth.cognito.pool'); |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | |
| 31 | 31 | private function registerCognitoUserProvider(): void |
| 32 | 32 | { |
| 33 | - Auth::provider(CognitoUserProvider::class, function (Container $app) { |
|
| 33 | + Auth::provider(CognitoUserProvider::class, function(Container $app) { |
|
| 34 | 34 | return $app->make(CognitoUserProvider::class); |
| 35 | 35 | }); |
| 36 | 36 | } |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | |
| 25 | 25 | public static function fromFile(string $path): self |
| 26 | 26 | { |
| 27 | - $key =file_get_contents($path); |
|
| 27 | + $key = file_get_contents($path); |
|
| 28 | 28 | |
| 29 | 29 | return new self(JWKSet::createFromJson($key)); |
| 30 | 30 | } |