Skip to content

Commit

Permalink
Update redis.php
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter authored Dec 27, 2023
1 parent 0482422 commit 88004b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/system/library/cache/redis.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 88004b1

Please sign in to comment.