Upgrade to 3.7.0

This commit is contained in:
Bastian Allgeier
2022-06-27 10:02:22 +02:00
parent 0751a6510d
commit 1c22148d7b
674 changed files with 5052 additions and 3082 deletions

8
kirby/src/Cms/Pagination.php Normal file → Executable file
View File

@@ -96,9 +96,9 @@ class Pagination extends BasePagination
/**
* Returns the Url for the first page
*
* @return string
* @return string|null
*/
public function firstPageUrl(): string
public function firstPageUrl(): ?string
{
return $this->pageUrl(1);
}
@@ -106,9 +106,9 @@ class Pagination extends BasePagination
/**
* Returns the Url for the last page
*
* @return string
* @return string|null
*/
public function lastPageUrl(): string
public function lastPageUrl(): ?string
{
return $this->pageUrl($this->lastPage());
}