| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | 6 | public function create(ContainerInterface $container): Application |
|
| 25 | { |
||
| 26 | 6 | return new Application( |
|
| 27 | 6 | $container->get(RouteCollector::class), |
|
| 28 | 6 | $container->get(EmitterInterface::class), |
|
| 29 | 6 | $container->get(MiddlewarePipelineInterface::class), |
|
| 30 | 6 | $container->get(MiddlewareResolverInterface::class), |
|
| 31 | 6 | new NotFoundJsonHandler($container->get('config')['debug']) |
|
| 32 | 6 | ); |
|
| 35 |