| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class Choice extends AbstractNamedGroupItem implements ElementItem, ElementContainer, InterfaceSetMinMax |
||
| 10 | { |
||
| 11 | use ElementContainerTrait; |
||
| 12 | |||
| 13 | protected int $min = 1; |
||
| 14 | |||
| 15 | protected int $max = 1; |
||
| 16 | |||
| 17 | public function getMin(): int |
||
| 18 | { |
||
| 19 | return $this->min; |
||
| 20 | } |
||
| 21 | |||
| 22 | public function setMin(int $min): void |
||
| 25 | } |
||
| 26 | |||
| 27 | public function getMax(): int |
||
| 28 | { |
||
| 29 | return $this->max; |
||
| 30 | } |
||
| 31 | |||
| 32 | public function setMax(int $max): void |
||
| 35 | } |
||
| 36 | } |
||
| 37 |