Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
28 | 2 | public function __construct($token, array $server = [], History $history = null, CookieJar $cookieJar = null) |
|
29 | { |
||
30 | 2 | $this->token = $token; |
|
31 | |||
32 | 2 | $server[self::HEADER_TOKEN] = $token; |
|
33 | 2 | $server[self::HEADER_USER_AGENT] = self::USER_AGENT; |
|
34 | |||
35 | 2 | parent::__construct(self::URL, $server, $history, $cookieJar); |
|
36 | 2 | } |
|
37 | |||
39 |