Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Operation/RSample.php
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ public function __construct(float $probability)
public function __invoke(): Closure
{
return static function (iterable $collection, float $probability): Generator {
yield from (new Run(
return yield from (new Run(
new Filter(
static function () use ($probability): bool {
return (mt_rand() / mt_getrandmax()) < $probability;

0 comments on commit 980ebc5

Please sign in to comment.