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
This commit is contained in:
Abdul Malik Ikhsan 2024-09-10 04:04:18 +07:00 committed by GitHub
commit b678930aeb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@
"phpunit/phpcov": "^9.0.2 || ^10.0",
"phpunit/phpunit": "^10.5.16 || ^11.2",
"predis/predis": "^1.1 || ^2.0",
"rector/rector": "1.2.4"
"rector/rector": "1.2.5"
},
"replace": {
"codeigniter4/framework": "self.version"

View File

@ -108,7 +108,7 @@ class RedisHandler extends BaseHandler
public function get(string $key)
{
$key = static::validateKey($key, $this->prefix);
$data = $this->redis->hMGet($key, ['__ci_type', '__ci_value']);
$data = $this->redis->hMget($key, ['__ci_type', '__ci_value']);
if (! isset($data['__ci_type'], $data['__ci_value']) || $data['__ci_value'] === false) {
return null;
@ -147,7 +147,7 @@ class RedisHandler extends BaseHandler
return false;
}
if (! $this->redis->hMSet($key, ['__ci_type' => $dataType, '__ci_value' => $value])) {
if (! $this->redis->hMset($key, ['__ci_type' => $dataType, '__ci_value' => $value])) {
return false;
}