| Total Complexity | 2 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 19 | ||
| Bugs | 3 | Features | 6 |
| 1 | <?php |
||
| 16 | final class SavingIterator extends IteratorEnvelope |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * Ctor. |
||
| 20 | * |
||
| 21 | * @phpstan-param Iterator<TKey, TValue>|Closure():Generator<TKey, TValue, void, void> $origin |
||
| 22 | * @phpstan-param AddingIterator<TKey, TValue> $target |
||
| 23 | * @param Iterator|Closure $origin original iterator. |
||
| 24 | * @param AddingIterator $target iterator to which the values are saved. |
||
| 25 | */ |
||
| 26 | public function __construct( |
||
| 61 |