From 3e7e4dd306f798bfda07c7a55150538fa506bf8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Sun, 1 Nov 2020 04:29:55 +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 --- HttpServer/Events/OnReceive.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/HttpServer/Events/OnReceive.php b/HttpServer/Events/OnReceive.php index b82f902f..611d41dd 100644 --- a/HttpServer/Events/OnReceive.php +++ b/HttpServer/Events/OnReceive.php @@ -65,8 +65,9 @@ class OnReceive extends Callback * @return mixed * @throws Exception */ - public function onHandler(\Swoole\Server $server, string $fd, int $reactorId, string $data) + public function onHandler(\Swoole\Server $server, $fd, $reactorId, $data) { + var_dump(func_get_args()); try { $client = [$fd]; if (empty($data = $this->unpack($data))) {