Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | public function __construct($message, \DokuHTTPClient $httpClient, $url, $method) |
||
20 | { |
||
21 | $this->code = $httpClient->status; |
||
22 | $this->httpError = $httpClient->error; |
||
23 | $this->responseBody = $httpClient->resp_body; |
||
24 | $this->url = $url; |
||
25 | $this->method = $method; |
||
26 | |||
27 | parent::__construct($message, $this->getCode(), $this->httpError); |
||
28 | } |
||
62 |