@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | /** |
59 | 59 | * {@inheritdoc} |
60 | 60 | */ |
61 | - public function findClientId(ServerRequestInterface $request, &$client_credentials = null): ?ClientId |
|
61 | + public function findClientId(ServerRequestInterface $request, &$client_credentials = null): ? ClientId |
|
62 | 62 | { |
63 | 63 | $server_params = $request->getServerParams(); |
64 | 64 | if (array_key_exists('PHP_AUTH_USER', $server_params) && array_key_exists('PHP_AUTH_PW', $server_params)) { |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | /** |
32 | 32 | * {@inheritdoc} |
33 | 33 | */ |
34 | - public function findClientId(ServerRequestInterface $request, &$clientCredentials = null): ?ClientId |
|
34 | + public function findClientId(ServerRequestInterface $request, &$clientCredentials = null): ? ClientId |
|
35 | 35 | { |
36 | 36 | $parameters = $request->getParsedBody() ?? []; |
37 | 37 | if (array_key_exists('client_id', $parameters) && !array_key_exists('client_secret', $parameters)) { |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | */ |
27 | 27 | protected function continueLoading(string $path, ContainerBuilder $container, array $config) |
28 | 28 | { |
29 | - $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__ . '/../../../Resources/config/endpoint')); |
|
29 | + $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__.'/../../../Resources/config/endpoint')); |
|
30 | 30 | $loader->load('id_token_hint.php'); |
31 | 31 | } |
32 | 32 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | } |
34 | 34 | $container->setAlias($path.'.key_set', $config['key_set']); |
35 | 35 | |
36 | - $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__ . '/../../../Resources/config/endpoint')); |
|
36 | + $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__.'/../../../Resources/config/endpoint')); |
|
37 | 37 | $loader->load('client_registration_software_statement.php'); |
38 | 38 | } |
39 | 39 | |
@@ -53,13 +53,13 @@ discard block |
||
53 | 53 | parent::continueConfiguration($node); |
54 | 54 | $node |
55 | 55 | ->validate() |
56 | - ->ifTrue(function ($config) { |
|
56 | + ->ifTrue(function($config) { |
|
57 | 57 | return true === $config['enabled'] && empty($config['key_set']); |
58 | 58 | }) |
59 | 59 | ->thenInvalid('The option "key_set" must be set.') |
60 | 60 | ->end() |
61 | 61 | ->validate() |
62 | - ->ifTrue(function ($config) { |
|
62 | + ->ifTrue(function($config) { |
|
63 | 63 | return true === $config['enabled'] && empty($config['allowed_signature_algorithms']); |
64 | 64 | }) |
65 | 65 | ->thenInvalid('At least one signature algorithm must be set.') |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | public function prepend(array $bundleConfig, string $path, ContainerBuilder $container) |
83 | 83 | { |
84 | 84 | $currentPath = $path.'['.$this->name().']'; |
85 | - $accessor = PropertyAccess::createPropertyAccessor(); |
|
85 | + $accessor = PropertyAccess::createPropertyAccessor(); |
|
86 | 86 | $sourceConfig = $accessor->getValue($bundleConfig, $currentPath); |
87 | 87 | |
88 | 88 | if (true === $sourceConfig['enabled']) { |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | $container->setParameter($path.'.'.$k, $v); |
58 | 58 | } |
59 | 59 | |
60 | - $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__ . '/../../../Resources/config/endpoint')); |
|
60 | + $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__.'/../../../Resources/config/endpoint')); |
|
61 | 61 | $loader->load('client_registration.php'); |
62 | 62 | |
63 | 63 | foreach ($this->subSections as $source) { |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |