Skip to content

Commit

Permalink
Rename $rowsPerPage to $perPage
Browse files Browse the repository at this point in the history
  • Loading branch information
vinkla committed Oct 18, 2023
1 parent fa8a757 commit 52b63ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Fields/Repeater.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ public function collapsed(string $name): static
return $this;
}

public function pagination(int $rowsPerPage = 20): static
public function pagination(int $perPage = 20): static
{
$this->settings['pagination'] = true;
$this->settings['rows_per_page'] = $rowsPerPage;
$this->settings['rows_per_page'] = $perPage;

return $this;
}
Expand Down

0 comments on commit 52b63ce

Please sign in to comment.