Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class IssueClientResponse |
||
8 | { |
||
9 | /** @var mixed[] */ |
||
10 | private array $body; |
||
11 | |||
12 | private ?string $nextUrl = null; |
||
13 | |||
14 | /** |
||
15 | * @param mixed[] $body |
||
16 | */ |
||
17 | 6 | public function __construct(array $body, ?string $nextUrl) |
|
21 | 6 | } |
|
22 | |||
23 | /** |
||
24 | * @return mixed[] |
||
25 | */ |
||
26 | 5 | public function getBody(): array |
|
27 | { |
||
28 | 5 | return $this->body; |
|
29 | } |
||
30 | |||
31 | 4 | public function getNextUrl(): ?string |
|
34 | } |
||
35 | } |
||
36 |