Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 85.71% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class ReactFactory implements ClientFactory |
||
14 | { |
||
15 | /** @var MessageFactory */ |
||
16 | private $messageFactory; |
||
17 | |||
18 | /** |
||
19 | * @param MessageFactory $messageFactory |
||
20 | */ |
||
21 | 1 | public function __construct(MessageFactory $messageFactory) |
|
24 | 1 | } |
|
25 | |||
26 | /** |
||
27 | * @param array<string, mixed> $config |
||
28 | * |
||
29 | * @return HttpClient |
||
30 | */ |
||
31 | 1 | public function createClient(array $config = []): HttpClient |
|
40 |