Total Complexity | 2 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
19 | final class Response |
||
20 | { |
||
21 | |||
22 | /** |
||
23 | * @Required |
||
24 | * |
||
25 | * @var int |
||
26 | */ |
||
27 | public $code; |
||
28 | |||
29 | /** |
||
30 | * @Required |
||
31 | * |
||
32 | * @var string |
||
33 | */ |
||
34 | public $description; |
||
35 | |||
36 | /** |
||
37 | * @var array<Sunrise\Http\Router\OpenApi\Annotation\OpenApi\Content> |
||
38 | */ |
||
39 | public $content = []; |
||
40 | |||
41 | /** |
||
42 | * @return array |
||
43 | */ |
||
44 | public function toArray() : array |
||
57 |