Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
33 | public function __construct(RequestInterface $request, ResponseInterface $response, int $statusCode) |
||
34 | { |
||
35 | $this->request = $request; |
||
36 | $this->response = $response; |
||
37 | $this->statusCode = $statusCode; |
||
38 | |||
39 | parent::__construct(sprintf('Request failed with status code %d', $this->statusCode)); |
||
40 | } |
||
57 |