| Total Complexity | 3 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 6 | class AnswerResponse { |
||
| 7 | |||
| 8 | /** |
||
| 9 | * @var int |
||
| 10 | */ |
||
| 11 | public $id; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var string|null |
||
| 15 | */ |
||
| 16 | public $answer; |
||
| 17 | |||
| 18 | 1 | public function __construct(int $id, ?string $answer = null) { |
|
| 21 | 1 | } |
|
| 22 | |||
| 23 | 1 | public function getId(): int { |
|
| 24 | 1 | return $this->id; |
|
| 25 | } |
||
| 26 | |||
| 27 | 1 | public function getAnswer(): ?string { |
|
| 29 | } |
||
| 30 | |||
| 32 |