|
@@ -27,14 +27,14 @@ |
|
|
block discarded – undo |
|
27
|
27
|
public function load(array $configs, ContainerBuilder $container) |
|
28
|
28
|
{ |
|
29
|
29
|
$config = $this->processConfiguration(new Configuration(), $configs); |
|
30
|
|
- $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
|
30
|
+ $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
31
|
31
|
$loader->load('services.yml'); |
|
32
|
32
|
|
|
33
|
33
|
$keys = []; |
|
34
|
34
|
|
|
35
|
35
|
foreach ($config['keys'] as $keyId => $keyConfig) { |
|
36
|
36
|
$keyConfig['kid'] = $keyId; |
|
37
|
|
- $keyDefinition = new Definition('jwt.keys.' . $keyId); |
|
|
37
|
+ $keyDefinition = new Definition('jwt.keys.'.$keyId); |
|
38
|
38
|
$keyDefinition->setClass(JwtKey::class); |
|
39
|
39
|
|
|
40
|
40
|
if (isset($keyConfig['loader'])) { |
Please login to merge, or discard this patch.