From a3dfcf02e658ee87f5cebe9f9b7c8be715b54d74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Mon, 28 Feb 2022 14:59:34 +0800 Subject: [PATCH] modify plugin name --- RpcJsonp.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/RpcJsonp.php b/RpcJsonp.php index 4e70d82..cc00af1 100644 --- a/RpcJsonp.php +++ b/RpcJsonp.php @@ -277,9 +277,11 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa /** + * @param \Swoole\WebSocket\Server $server * @param int $fd + * @return void */ - public function onClose(int $fd): void + public function onClose(\Swoole\WebSocket\Server $server, int $fd): void { // TODO: Implement onClose() method. }