Total Complexity | 3 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
21 | final class NormalizeIterableAggregate implements IteratorAggregate |
||
22 | { |
||
23 | /** |
||
24 | * @param iterable<TKey, T> $iterable |
||
25 | */ |
||
26 | 6 | public function __construct(private iterable $iterable) |
|
27 | { |
||
28 | 6 | } |
|
29 | |||
30 | /** |
||
31 | * @return Generator<int, T> |
||
32 | */ |
||
33 | 6 | public function getIterator(): Generator |
|
37 | } |
||
38 | } |
||
40 |