From 4a07e31c33b66e4386bb9b54009d90a457b0c9ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 28 Oct 2021 10:54:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Consumers.php | 2 +- src/OnRpcConsumerInterface.php | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Consumers.php b/src/Consumers.php index 5bbdb32..8f9db8b 100644 --- a/src/Consumers.php +++ b/src/Consumers.php @@ -14,7 +14,7 @@ use Swoole\Coroutine; /** * */ -class Consumers implements OnRpcConsumerInterface +abstract class Consumers implements OnRpcConsumerInterface { diff --git a/src/OnRpcConsumerInterface.php b/src/OnRpcConsumerInterface.php index 019b3bf..1141b1e 100644 --- a/src/OnRpcConsumerInterface.php +++ b/src/OnRpcConsumerInterface.php @@ -5,7 +5,4 @@ namespace Kiri\Rpc; interface OnRpcConsumerInterface { - - public function execute(); - }