| Total Complexity | 2 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | final class WrongAnswerException extends RuntimeException |
||
| 11 | { |
||
| 12 | private array $rightAnswers; |
||
| 13 | |||
| 14 | public function __construct(array $rightAnswers, $message = "", $code = 0, Throwable $previous = null) |
||
| 15 | { |
||
| 16 | $this->rightAnswers = $rightAnswers; |
||
| 17 | |||
| 18 | parent::__construct($message, $code, $previous); |
||
| 19 | } |
||
| 20 | |||
| 21 | public function rightAnswers(): array |
||
| 24 | } |
||
| 25 | } |
||
| 26 |