Skip to content

Commit

Permalink
cs: Autofix code style.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Dec 31, 2021
1 parent 351676b commit 78d5d7a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Operation/Zip.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ static function (iterable ...$iterables): Closure {
* @return Closure(ArrayIterator<int, (Iterator<TKey, T>|IterableIterator<UKey, U>)>): MultipleIterator
*/
(new Reduce())()(
/**
* @param Iterator<TKey, T> $iterator
*/
static function (MultipleIterator $acc, Iterator $iterator): MultipleIterator {
$acc->attachIterator($iterator);
/**
* @param Iterator<TKey, T> $iterator
*/
static function (MultipleIterator $acc, Iterator $iterator): MultipleIterator {
$acc->attachIterator($iterator);

return $acc;
}
return $acc;
}
)(new MultipleIterator(MultipleIterator::MIT_NEED_ANY));

/** @var Closure(Iterator<TKey, T>): Generator<list<TKey|UKey>, list<T|U>> $pipe */
Expand Down

0 comments on commit 78d5d7a

Please sign in to comment.