| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | 18 | public function __construct( |
|
| 28 | string $apiHost, |
||
| 29 | string $clientId, |
||
| 30 | string $clientSecret, |
||
| 31 | string $tokenEndpoint = '/oauth/2.0/token' |
||
| 32 | ) { |
||
| 33 | 18 | $this->apiHost = $apiHost; |
|
| 34 | 18 | $this->clientId = $clientId; |
|
| 35 | 18 | $this->clientSecret = $clientSecret; |
|
| 36 | 18 | $this->tokenEndpoint = $tokenEndpoint; |
|
| 37 | } |
||
| 44 |