This commit is contained in:
2023-08-16 00:45:04 +08:00
parent 1690fa4d44
commit c392460dd7
+3 -3
View File
@@ -139,7 +139,7 @@ SCRIPT;
*/
public function destroy(): void
{
$this->pool()->clean($this->host);
$this->pool()->close($this->host);
}
@@ -165,7 +165,7 @@ SCRIPT;
/**
* @return \Redis
* @throws ReflectionException
* @throws Exception
*/
private function getClient(): \Redis
{
@@ -175,7 +175,7 @@ SCRIPT;
/**
* @return Pool
* @throws ReflectionException
* @throws Exception
*/
protected function pool(): Pool
{