| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | 4 | public function __invoke(): Closure |
|
| 23 | { |
||
| 24 | 4 | return |
|
| 25 | /** |
||
| 26 | * @param iterable<TKey, T> $iterable |
||
| 27 | * |
||
| 28 | * @return iterable<TKey, T> |
||
| 29 | */ |
||
| 30 | 4 | static function (iterable $iterable): iterable { |
|
| 31 | 4 | yield from new InfiniteIteratorAggregate((new IterableIteratorAggregate($iterable))->getIterator()); |
|
| 32 | 4 | }; |
|
| 35 |