| Total Complexity | 5 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 8 | class LaraClientApiClientException extends Exception |
||
| 9 | { |
||
| 10 | protected $statusCode; |
||
| 11 | protected $response; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @param $message |
||
| 15 | * @param $statusCode |
||
| 16 | * @param $response |
||
| 17 | */ |
||
| 18 | public function __construct($message = '', $statusCode = null, $response = null) |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return mixed|null |
||
| 27 | */ |
||
| 28 | public function getStatusCode(): mixed |
||
| 29 | { |
||
| 30 | return $this->statusCode; |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return mixed|null |
||
| 35 | */ |
||
| 36 | public function getResponse(): mixed |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return void |
||
| 43 | */ |
||
| 44 | public function report(): void |
||
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @param $request |
||
| 51 | * @return \Illuminate\Http\JsonResponse |
||
| 52 | */ |
||
| 53 | public function render($request): \Illuminate\Http\JsonResponse |
||
| 58 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.