This commit is contained in:
2023-04-11 14:00:45 +08:00
parent 7a2ffac535
commit 1c3ef9b361
+2 -2
View File
@@ -197,10 +197,10 @@ SCRIPT;
/** /**
* @return Helper * @return \Redis
* @throws ConfigException * @throws ConfigException
*/ */
private function getClient(): Helper private function getClient(): \Redis
{ {
$config = $this->get_config(); $config = $this->get_config();
return $this->pool->get($config['host']); return $this->pool->get($config['host']);