Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | 2 | public function __construct( |
|
17 | string $clientKey, |
||
18 | string $apiUrl = self::DEFAULT_API_URL, |
||
19 | ?string $languagePool = null, |
||
20 | ?string $callbackUrl = null, |
||
21 | ?int $softId = self::DEFAULT_SOFT_ID |
||
22 | ) { |
||
23 | 2 | $this->apiKey = $clientKey; |
|
24 | 2 | $this->apiUrl = $apiUrl; |
|
25 | 2 | $this->languagePool = $languagePool; |
|
26 | 2 | $this->callbackUrl = $callbackUrl; |
|
27 | 2 | $this->softId = $softId; |
|
28 | } |
||
65 |