From 979808d9b8862abbb93b7e4ed4ef9b2c18b26b31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 16 Jun 2022 18:07:27 +0800 Subject: [PATCH] modify plugin name --- Contract/OnCloseInterface.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Contract/OnCloseInterface.php b/Contract/OnCloseInterface.php index ccc9dc9..44fd254 100644 --- a/Contract/OnCloseInterface.php +++ b/Contract/OnCloseInterface.php @@ -13,11 +13,10 @@ interface OnCloseInterface /** - * @param Server|\Swoole\Coroutine\Http\Server $server * @param int $fd * @return void */ - public function onClose(Server|\Swoole\Coroutine\Http\Server $server, int $fd): void; + public function onClose(int $fd): void; }