From 88004b1997f4beb46e041ba7b218cf3a3ceb2f4f Mon Sep 17 00:00:00 2001 From: TheCartpenter <77865573+TheCartpenter@users.noreply.github.com> Date: Wed, 27 Dec 2023 11:26:27 -0500 Subject: [PATCH] Update redis.php --- upload/system/library/cache/redis.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload/system/library/cache/redis.php b/upload/system/library/cache/redis.php index fd1ec7d6d..8d42f6289 100644 --- a/upload/system/library/cache/redis.php +++ b/upload/system/library/cache/redis.php @@ -24,7 +24,7 @@ public function __construct(int $expire = 3600) { * * @return mixed */ - public function get(string $key): array|string|null { + public function get(string $key) { $data = $this->cache->get(CACHE_PREFIX . $key); return json_decode($data, true);