| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function __invoke(ContainerInterface $container): CurlFactory |
||
| 15 | { |
||
| 16 | /** @var ResponseFactoryInterface $responseFactory */ |
||
| 17 | $responseFactory = $container->get('httplug.response_factory'); |
||
| 18 | |||
| 19 | /** @var StreamFactoryInterface $streamFactory */ |
||
| 20 | $streamFactory = $container->get('httplug.stream_factory'); |
||
| 21 | |||
| 22 | return new CurlFactory($responseFactory, $streamFactory); |
||
| 23 | } |
||
| 25 |