Skip to content

Commit

Permalink
fix(#1680): fixed a bug where the Last Number for “Numbers” in the pr…
Browse files Browse the repository at this point in the history
…edefined options would always be ’20’.
  • Loading branch information
kjmartens committed Dec 19, 2024
1 parent 07d0a9d commit 6805f2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function generateOptions(): OptionCollection
$collection = new OptionCollection();

$first = $this->first ?? 0;
$last = $this->last ?? 20;
$last = $this->second ?? 20;
$step = $this->step ?: 1;

foreach (range($first, $last, $step) as $i) {
Expand Down

0 comments on commit 6805f2c

Please sign in to comment.