| Total Complexity | 3 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | abstract class AbstractLazyHttpResponse implements LazyResponseInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * AbstractLazyHttpResponse constructor. |
||
| 15 | */ |
||
| 16 | 7 | public function __construct(protected int $status = Response::HTTP_OK, protected array $headers = []) |
|
| 17 | { |
||
| 18 | 7 | } |
|
| 19 | |||
| 20 | 7 | public function getHeaders(): array |
|
| 21 | { |
||
| 22 | 7 | return $this->headers; |
|
| 23 | } |
||
| 24 | |||
| 25 | 7 | public function getStatusCode(): int |
|
| 28 | } |
||
| 29 | } |
||
| 30 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.