| Total Complexity | 3 | 
| Total Lines | 25 | 
| Duplicated Lines | 0 % | 
| Coverage | 0% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 12 | final class FailedApiResponse implements ResponseInterface  | 
            ||
| 13 | { | 
            ||
| 14 | private int $status;  | 
            ||
| 15 | private ErrorCriteria $error;  | 
            ||
| 16 | |||
| 17 | public function __construct(ErrorCriteria $error, int $status = HttpStatusCode::HTTP_ERROR)  | 
            ||
| 21 | }  | 
            ||
| 22 | |||
| 23 | /**  | 
            ||
| 24 | * @psalm-suppress ImpureMethodCall  | 
            ||
| 25 | */  | 
            ||
| 26 | public function body(): array  | 
            ||
| 31 | ];  | 
            ||
| 32 | }  | 
            ||
| 33 | |||
| 34 | public function status(): int  | 
            ||
| 39 |