diff --git a/CHANGELOG.md b/CHANGELOG.md index db72d54f4..461acadc1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# v1.7.37.1 +## 10/05/2022 + +1. [](#bugfix) + * Fixed a bad return type [#3630](https://github.com/getgrav/grav/issues/3630) + # v1.7.37 ## 10/05/2022 diff --git a/system/defines.php b/system/defines.php index 9c2e27c33..aa56627ea 100644 --- a/system/defines.php +++ b/system/defines.php @@ -9,7 +9,7 @@ // Some standard defines define('GRAV', true); -define('GRAV_VERSION', '1.7.37'); +define('GRAV_VERSION', '1.7.37.1'); define('GRAV_SCHEMA', '1.7.0_2020-11-20_1'); define('GRAV_TESTING', false); diff --git a/system/src/Grav/Common/Page/Pages.php b/system/src/Grav/Common/Page/Pages.php index 4e8b0597f..6e2d14f29 100644 --- a/system/src/Grav/Common/Page/Pages.php +++ b/system/src/Grav/Common/Page/Pages.php @@ -2226,9 +2226,9 @@ class Pages * this is particularly useful to know if pages have changed and you want * to sync another cache with pages cache - works best in `onPagesInitialized()` * - * @return string + * @return null|string */ - public function getPagesCacheId(): string + public function getPagesCacheId(): ?string { return $this->pages_cache_id; } @@ -2236,9 +2236,9 @@ class Pages /** * Get the simple pages hash that is not md5 encoded, and isn't specific to language * - * @return string + * @return null|string */ - public function getSimplePagesHash(): string + public function getSimplePagesHash(): ?string { return $this->simple_pages_hash; }