Skip to content

Commit

Permalink
Fix PHPStan bogus issue by ignoring it.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed May 26, 2020
1 parent a0352ae commit 88fd00f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Operation/Combinate.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ public function on(iterable $collection): Closure
$dataset = (new All())->on($collection);

if (0 < $length) {
// TODO: Investigate why it's calling issues with PHPStan.
/** @phpstan-ignore-next-line */
return yield from $getCombinations($dataset, $length);
}

Expand Down

0 comments on commit 88fd00f

Please sign in to comment.