Skip to content

Commit 0a9835b

Browse files
committed
Fix phpstan
1 parent 3776790 commit 0a9835b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/Cache/Handlers/RedisHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public function initialize()
108108
public function get(string $key)
109109
{
110110
$key = static::validateKey($key, $this->prefix);
111-
$data = $this->redis->hMGet($key, ['__ci_type', '__ci_value']);
111+
$data = $this->redis->hMget($key, ['__ci_type', '__ci_value']);
112112

113113
if (! isset($data['__ci_type'], $data['__ci_value']) || $data['__ci_value'] === false) {
114114
return null;
@@ -147,7 +147,7 @@ public function save(string $key, $value, int $ttl = 60)
147147
return false;
148148
}
149149

150-
if (! $this->redis->hMSet($key, ['__ci_type' => $dataType, '__ci_value' => $value])) {
150+
if (! $this->redis->hMset($key, ['__ci_type' => $dataType, '__ci_value' => $value])) {
151151
return false;
152152
}
153153

0 commit comments

Comments
 (0)