diff --git a/app/Support/ClusterSupport.php b/app/Support/ClusterSupport.php index bd528b1..f35f233 100644 --- a/app/Support/ClusterSupport.php +++ b/app/Support/ClusterSupport.php @@ -85,10 +85,10 @@ public static function hset($key, $value, $data = []): void Redis::hset(self::$prefix.$key, $value, json_encode($data)); } - public static function hdel($key, $data = []): void + public static function hdel($key, $hash_key): void { /** @noinspection PhpUndefinedMethodInspection */ - Redis::hdel(self::$prefix.$key, $data); + Redis::hdel(self::$prefix.$key, $hash_key); } /**