mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
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:
commit
b678930aeb
@ -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"
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user