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