From eec4ad8a8bd4db35c2bfab1cb01482f5eeac18b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 2 Dec 2021 16:18:10 +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 --- src/RpcJsonp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RpcJsonp.php b/src/RpcJsonp.php index 30f956a..cabbac9 100644 --- a/src/RpcJsonp.php +++ b/src/RpcJsonp.php @@ -203,7 +203,7 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa private function dispatch($data): array { try { - [$handler, $params, $_] = $this->container->get(RpcManager::class)->get($data['service'], $data['method']); + [$handler, $params] = $this->container->get(RpcManager::class)->get($data['service'], $data['method']); if (is_null($handler)) { throw new \Exception('Method not found', -32601); } else {