Skip to content

Commit

Permalink
fix: Same operation must yield.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Dec 29, 2021
1 parent 518209b commit 317b519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Operation/Same.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ static function (Iterator $iterator) use ($other, $comparatorCallback): Generato
$other->next();
}

return $iterator->valid() !== $other->valid();
return yield $iterator->valid() !== $other->valid();
};
}
}

0 comments on commit 317b519

Please sign in to comment.