Skip to content

Commit

Permalink
fixed cache return type
Browse files Browse the repository at this point in the history
  • Loading branch information
koertho committed Feb 28, 2023
1 parent cbfa126 commit 80734fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion library/Haste/Cache/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 80734fe

Please sign in to comment.