| Conditions | 3 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | public function __construct() |
||
| 27 | { |
||
| 28 | parent::__construct(); |
||
| 29 | |||
| 30 | // If the fix is available we go for it, otherwise there is nothing we can do. |
||
| 31 | if (defined('CURLOPT_IPRESOLVE') && defined('CURL_IPRESOLVE_V4')) { |
||
| 32 | $this->setOption(CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4); |
||
| 33 | } |
||
| 34 | } |
||
| 35 | } |
||
| 36 |