@@ -6,7 +6,7 @@ |
||
6 | 6 | use EcPhp\ApiGwAuthenticationBundle\Controller\User; |
7 | 7 | use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator; |
8 | 8 | |
9 | -return static function (RoutingConfigurator $routes) { |
|
9 | +return static function(RoutingConfigurator $routes) { |
|
10 | 10 | $routes |
11 | 11 | ->add('api_gw_authentication_bundle_user', '/user') |
12 | 12 | ->controller(User::class); |
@@ -17,7 +17,7 @@ |
||
17 | 17 | use Psr\Http\Client\ClientInterface; |
18 | 18 | use Psr\Http\Message\RequestFactoryInterface; |
19 | 19 | |
20 | -return static function (ContainerConfigurator $container) { |
|
20 | +return static function(ContainerConfigurator $container) { |
|
21 | 21 | $container |
22 | 22 | ->services() |
23 | 23 | ->set('api_gw_authentication.key_converter.jwk_converter', JWKConverter::class) |
@@ -189,8 +189,7 @@ |
||
189 | 189 | private function loadFailsafeKey(string $type): string |
190 | 190 | { |
191 | 191 | $key = KeyLoaderInterface::TYPE_PUBLIC === $type ? |
192 | - $this->getFailsafePublicKey() : |
|
193 | - $this->getFailsafePrivateKey(); |
|
192 | + $this->getFailsafePublicKey() : $this->getFailsafePrivateKey(); |
|
194 | 193 | |
195 | 194 | $keyPathCandidateParts = $this->findFirstFileExist($key); |
196 | 195 |