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 6e08253 + 85a4224 commit d7d0a99Copy full SHA for d7d0a99
lib/KirbyLoupeCollection.php
@@ -37,7 +37,7 @@ public function formatted(Page $page) {
37
return $this->hit($page)["_formatted"];
38
}
39
40
- public function paginate(...$arguments) {
+ public function paginate(...$arguments): static {
41
// The original Collection class uses Pagination::for() which will
42
// automatically set the total parameter based on the collection length
43
// which we don't want, so we create new Pagination instance manually.
0 commit comments