Skip to content

Commit

Permalink
refactor: Update Append 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 b990edb commit 27285f8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Operation/Append.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ public function __invoke(): Closure
*
* @psalm-return Iterator<int|TKey, T>
*/
static function (Iterator $iterator) use ($items): Iterator {
return new MultipleIterableIterator($iterator, $items);
};
static fn (Iterator $iterator): Iterator => new MultipleIterableIterator($iterator, $items);
}
}

0 comments on commit 27285f8

Please sign in to comment.