1 | <?php |
||
13 | class ErrorResponse extends AbstractApiResponse |
||
14 | { |
||
15 | /** |
||
16 | * @var \Exception |
||
17 | */ |
||
18 | private $exception; |
||
19 | |||
20 | private $message; |
||
21 | private $statusCode; |
||
|
|||
22 | |||
23 | /** |
||
24 | * ErrorResponse constructor. |
||
25 | * @param ResponseInterface $response |
||
26 | * @param ClientRequestInterface $request |
||
27 | * @param \Exception $exception |
||
28 | * @param Context $context |
||
29 | */ |
||
30 | 26 | public function __construct( |
|
39 | |||
40 | 22 | public function isError() |
|
44 | |||
45 | public function getMessage() |
||
52 | } |
||
53 |
This check marks private properties in classes that are never used. Those properties can be removed.