Skip to content

Commit

Permalink
Update Permutate operation.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Jul 7, 2020
1 parent 64a64a4 commit 72202db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Operation/Permutate.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function __invoke(): Closure
};

return static function (iterable $collection) use ($getPermutations): Generator {
yield from $getPermutations((new All())($collection));
return yield from $getPermutations((new All())($collection));
};
}

Expand Down

0 comments on commit 72202db

Please sign in to comment.