| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 3 | ||
| Bugs | 0 | Features | 2 |
| 1 | <?php |
||
| 16 | 3 | public function __invoke(ContainerInterface $container): FeatureRepository |
|
| 17 | { |
||
| 18 | /** @var ToggleConfig $config */ |
||
| 19 | 3 | $config = $container->get(ToggleConfig::class); |
|
| 20 | /** @var ?Connection $connection */ |
||
| 21 | 3 | $connection = $container->get(Connection::class); |
|
| 22 | |||
| 23 | 3 | return self::create($config, $connection); |
|
| 24 | } |
||
| 42 |