From 8fdf7ca16c91b0b06cf12643e20c232d89af7aea Mon Sep 17 00:00:00 2001 From: gzydong <837215079@qq.com> Date: Thu, 20 May 2021 16:58:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Cache/Contracts/HashRedisInterface.php | 2 +- app/Cache/Contracts/ListRedisInterface.php | 2 +- app/Cache/Contracts/SetRedisInterface.php | 4 ++-- app/Cache/Contracts/ZSetRedisInterface.php | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Cache/Contracts/HashRedisInterface.php b/app/Cache/Contracts/HashRedisInterface.php index 2811c38..4f1fa99 100644 --- a/app/Cache/Contracts/HashRedisInterface.php +++ b/app/Cache/Contracts/HashRedisInterface.php @@ -18,6 +18,6 @@ interface HashRedisInterface public function isMember(string $key); - public function delete(string $key); + public function delete(); } diff --git a/app/Cache/Contracts/ListRedisInterface.php b/app/Cache/Contracts/ListRedisInterface.php index ee0825d..ad69607 100644 --- a/app/Cache/Contracts/ListRedisInterface.php +++ b/app/Cache/Contracts/ListRedisInterface.php @@ -14,5 +14,5 @@ interface ListRedisInterface public function all(); - public function delete(string $key); + public function delete(); } diff --git a/app/Cache/Contracts/SetRedisInterface.php b/app/Cache/Contracts/SetRedisInterface.php index 9717ab8..7802c82 100644 --- a/app/Cache/Contracts/SetRedisInterface.php +++ b/app/Cache/Contracts/SetRedisInterface.php @@ -11,10 +11,10 @@ interface SetRedisInterface public function rem(string ...$member); public function isMember(string $member); - + public function randMember($count = 1); public function all(); - public function delete(string $key); + public function delete(); } diff --git a/app/Cache/Contracts/ZSetRedisInterface.php b/app/Cache/Contracts/ZSetRedisInterface.php index 3af6b2a..14afc21 100644 --- a/app/Cache/Contracts/ZSetRedisInterface.php +++ b/app/Cache/Contracts/ZSetRedisInterface.php @@ -22,5 +22,5 @@ interface ZSetRedisInterface public function getMemberScore(string $member); - public function delete(string $key); + public function delete(); }