Skip to content

Commit

Permalink
refactor: Update Merge operation - use PHP 7.4 code style.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Feb 23, 2021
1 parent 27285f8 commit e967e01
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Operation/Merge.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ public function __invoke(): Closure
*
* @psalm-return Iterator<TKey, T>
*/
static function (Iterator $iterator) use ($sources): Iterator {
return new MultipleIterableIterator($iterator, ...$sources);
};
static fn (Iterator $iterator): Iterator => new MultipleIterableIterator($iterator, ...$sources);
}
}

0 comments on commit e967e01

Please sign in to comment.