Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
48 | private function getClientOptions(): array |
||
49 | { |
||
50 | return array_filter([ |
||
51 | 'proxy' => array_filter([ |
||
52 | 'http' => $this->proxySelector->getHTTPProxy(), |
||
53 | ]), |
||
54 | |||
55 | 'connect_timeout' => $this->connectionTimeout, |
||
56 | 'read_timeout' => $this->connectionTimeout, |
||
57 | 'timeout' => $this->connectionTimeout, |
||
58 | ]); |
||
59 | } |
||
60 | } |
||
61 |