| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 40 | 21 | public function __construct(string $clientKey, array $options = []) |
|
| 41 | { |
||
| 42 | 21 | $opt = array_merge_recursive($options, [ |
|
| 43 | 21 | 'base_uri' => self::BASE_URL, |
|
| 44 | 21 | 'timeout' => self::API_TIMEOUT, |
|
| 45 | 'allow_redirects' => false |
||
| 46 | ]); |
||
| 47 | |||
| 48 | 21 | parent::__construct($opt); |
|
| 49 | |||
| 50 | 21 | $this->clientKey = $clientKey; |
|
| 51 | 21 | } |
|
| 71 |