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(); - }