Skip to content

Commit b678930

Browse files
authored
Merge pull request #9183 from codeigniter4/dependabot/composer/rector/rector-1.2.5
chore(deps-dev): update rector/rector requirement from 1.2.4 to 1.2.5
2 parents 647f4e7 + 0a9835b commit b678930

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"phpunit/phpcov": "^9.0.2 || ^10.0",
2929
"phpunit/phpunit": "^10.5.16 || ^11.2",
3030
"predis/predis": "^1.1 || ^2.0",
31-
"rector/rector": "1.2.4"
31+
"rector/rector": "1.2.5"
3232
},
3333
"replace": {
3434
"codeigniter4/framework": "self.version"

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)