Merge tag '1.7.37.1' into develop

Release v1.7.37.1
This commit is contained in:
Andy Miller
2022-10-05 15:06:23 -06:00
3 changed files with 11 additions and 5 deletions

View File

@@ -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

View File

@@ -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);

View File

@@ -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;
}