We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 45d447e + 5634606 commit 48cdf8dCopy full SHA for 48cdf8d
src/Paginator.php
@@ -291,7 +291,7 @@ public function isAsyncPaginationEnabled(): bool
291
/**
292
* Set the maximum number of pages the paginator will iterate over
293
*/
294
- public function setMaxPages(?int $maxPages): Paginator
+ public function setMaxPages(?int $maxPages): static
295
{
296
$this->maxPages = $maxPages;
297
@@ -301,7 +301,7 @@ public function setMaxPages(?int $maxPages): Paginator
301
302
* Set the per-page limit on the response
303
304
- public function setPerPageLimit(?int $perPageLimit): Paginator
+ public function setPerPageLimit(?int $perPageLimit): static
305
306
$this->perPageLimit = $perPageLimit;
307
0 commit comments