From 52b63cec7d5e7ae8a14fdd45f5412123ef60bef9 Mon Sep 17 00:00:00 2001 From: Vincent Klaiber Date: Wed, 18 Oct 2023 22:08:24 +0200 Subject: [PATCH] Rename `$rowsPerPage` to `$perPage` --- src/Fields/Repeater.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Fields/Repeater.php b/src/Fields/Repeater.php index 073ae551..aff742e1 100644 --- a/src/Fields/Repeater.php +++ b/src/Fields/Repeater.php @@ -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; }