| Total Complexity | 5 | 
| Total Lines | 37 | 
| Duplicated Lines | 0 % | 
| Coverage | 0% | 
| Changes | 2 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 19 | class Combinations extends CombinationsIterator implements GeneratorInterface | ||
| 20 | { | ||
| 21 | /** | ||
| 22 |      * {@inheritdoc} | ||
| 23 | */ | ||
| 24 | public function generator(): Generator | ||
| 25 |     { | ||
| 26 | return $this->get($this->getDataset(), $this->getLength()); | ||
| 27 | } | ||
| 28 | |||
| 29 | /** | ||
| 30 | * The generator. | ||
| 31 | * | ||
| 32 | * @param array<int, mixed> $dataset | ||
| 33 | * The dataset | ||
| 34 | * @param int $length | ||
| 35 | * The length | ||
| 36 | * | ||
| 37 | * @return Generator<array> | ||
| 38 | */ | ||
| 39 | protected function get(array $dataset, $length): Generator | ||
| 56 | } | ||
| 57 | } | ||
| 61 |