Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | 3 | public function __construct(ClientInterface $guzzleClient = null) |
|
21 | { |
||
22 | 3 | $this->guzzleClient = $guzzleClient ?: new GuzzleClient([ |
|
23 | 1 | 'base_uri' => Client::API_BASE_URI, |
|
24 | 1 | 'timeout' => Client::DEFAULT_TIMEOUT, |
|
25 | 1 | 'connect_timeout' => Client::DEFAULT_TIMEOUT, |
|
26 | 1 | ]); |
|
27 | 3 | } |
|
28 | |||
48 |