diff --git a/HttpServer/Events/OnReceive.php b/HttpServer/Events/OnReceive.php index 0da9acc0..b82f902f 100644 --- a/HttpServer/Events/OnReceive.php +++ b/HttpServer/Events/OnReceive.php @@ -65,7 +65,7 @@ class OnReceive extends Callback * @return mixed * @throws Exception */ - public function onHandler(\Swoole\Server $server, int $fd, int $reactorId, string $data) + public function onHandler(\Swoole\Server $server, string $fd, int $reactorId, string $data) { try { $client = [$fd];