Conditions | 2 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
30 | 13 | public function __construct(KunaClient $client, ?BaseClientInterface $baseClient = null) |
|
31 | { |
||
32 | 13 | $this->client = $client; |
|
33 | 13 | $this->baseClient = $baseClient ?: new BaseClient(); |
|
34 | 13 | $this->baseClient->setBaseUri($this->client->getBaseUri()); |
|
35 | 13 | $this->transformer = new ResponseTransformer(); |
|
36 | 13 | } |
|
54 |