diff --git a/CHANGELOG.md b/CHANGELOG.md index d861bab..02fd8a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ All notable changes to this project will be documented in this file. +## [1.15.14] - 2023-02-28 +- Fixed: invalid return type + ## [1.15.13] - 2023-02-22 - Fixed: invalid syntax diff --git a/library/Haste/Cache/Cache.php b/library/Haste/Cache/Cache.php index b5f72fa..0b3bdae 100644 --- a/library/Haste/Cache/Cache.php +++ b/library/Haste/Cache/Cache.php @@ -35,7 +35,7 @@ public function __construct(string $driver = 'auto', $config = null) * * @return Cache The object instance */ - public static function getInstance($config = null): Cache + public static function getInstance($config = null) { if (static::$objInstance === null) { static::$objInstance = CacheManager::getInstance(static::$driver, self::getOptions($config));