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