Skip to content

Commit

Permalink
SA: Update Unpair operation.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Jul 31, 2021
1 parent 56dd3f1 commit 74c701d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Operation/Unpair.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ final class Unpair extends AbstractOperation
/**
* @pure
*
* @return Closure(Iterator<TKey, T>): Generator<int, array{TKey, T}>
* @return Closure(Iterator<TKey, T>): Generator<int, array<TKey, T>>
*/
public function __invoke(): Closure
{
return
/**
* @param Iterator<TKey, T> $iterator
*
* @return Generator<int, array{TKey, T}>
* @return Generator<int, array<TKey, T>>
*/
static function (Iterator $iterator): Generator {
foreach ($iterator as $key => $value) {
Expand Down

0 comments on commit 74c701d

Please sign in to comment.