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