Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
24 | 2 | public function __invoke(): Closure |
|
25 | { |
||
26 | 2 | return |
|
27 | /** |
||
28 | * @param array<U> $items |
||
29 | * |
||
30 | * @return Closure(iterable<TKey, T>): iterable<int|TKey, T|U> |
||
31 | */ |
||
32 | 2 | static fn (array $items): Closure => |
|
33 | /** |
||
34 | * @param iterable<TKey, T> $iterable |
||
35 | * |
||
36 | * @return Generator<int|TKey, T|U> |
||
37 | */ |
||
38 | 2 | static fn (iterable $iterable): Generator => yield from new ConcatIterableAggregate([$items, $iterable]); |
|
39 | } |
||
41 |