Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | 3 | public function __invoke(ContainerInterface $container): JKUFactory |
|
15 | { |
||
16 | 3 | $clientName = $container->get('config')['jwt_module']['jku_factory']['http_client'] ?? ClientInterface::class; |
|
17 | |||
18 | 3 | return new JKUFactory( |
|
19 | 3 | $container->get($clientName), |
|
20 | 3 | $container->get(RequestFactoryInterface::class) |
|
21 | ); |
||
24 |