| Total Complexity | 3 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class SelectMotherInitialsChallenge extends AbstractChallenge |
||
| 14 | { |
||
| 15 | public const CHALLENGE_NAME = 'select_mother_initials'; |
||
| 16 | |||
| 17 | /** @var string[] */ |
||
| 18 | private $choices; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * SelectMotherInitialsChallenge constructor. |
||
| 22 | * @param int $attemptsLeft |
||
| 23 | * @param string $cpf |
||
| 24 | * @param string[] $choices |
||
| 25 | */ |
||
| 26 | 4 | public function __construct(int $attemptsLeft, string $cpf, array $choices) |
|
| 30 | 4 | } |
|
| 31 | |||
| 32 | /** |
||
| 33 | * @inheritDoc |
||
| 34 | */ |
||
| 35 | 2 | public function getName(): string |
|
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return string[] |
||
| 42 | */ |
||
| 43 | 2 | public function getChoices(): array |
|
| 48 |