mirror of
https://github.com/getgrav/grav.git
synced 2026-02-27 09:01:36 +01:00
Merge tag '1.7.37.1' into develop
Release v1.7.37.1
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user