Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
13 | 8 | public function __construct (array $options) { |
|
14 | 8 | $options = array_merge([ |
|
15 | 8 | "key" => null, |
|
16 | "client_id" => null, |
||
17 | "client_secret" => null |
||
18 | 8 | ], $options); |
|
19 | |||
20 | 8 | $this->server_key = $options["key"]; |
|
21 | 8 | $this->client_id = $options["client_id"]; |
|
22 | 8 | $this->client_secret = $options["client_secret"]; |
|
23 | 8 | } |
|
32 | } |