From 8d20f56660e367e4b07171dee67ea62f90a1a0e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 16 Jun 2022 18:49:33 +0800 Subject: [PATCH] modify plugin name --- RpcJsonp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RpcJsonp.php b/RpcJsonp.php index eebe527..54f9f2d 100644 --- a/RpcJsonp.php +++ b/RpcJsonp.php @@ -214,7 +214,7 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa if (!method_exists($controller, $data['method'])) { throw new Exception('Method not found', -32601); } - $params = $this->container->getArgs($controller::class, $data['method']); + $params = $this->container->getArgs($data['method'], $controller::class); Context::setContext(RequestInterface::class, $this->createServerRequest($params));