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