Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null): SignedQueryMiddleware |
||
16 | { |
||
17 | /** @var array $config */ |
||
18 | $config = $container->get('config'); |
||
19 | $signedQueries = $config['signedQueries']; |
||
20 | |||
21 | return new SignedQueryMiddleware($signedQueries['keys'], $signedQueries['required']); |
||
22 | } |
||
24 |