From c9574ec09c347a7a7b2a9f16910f11a41769b9cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 12 Apr 2021 16:40:07 +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 --- Gii/GiiRpcClient.php | 3 +-- Gii/GiiRpcService.php | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Gii/GiiRpcClient.php b/Gii/GiiRpcClient.php index 146955d2..3b5bb0fc 100644 --- a/Gii/GiiRpcClient.php +++ b/Gii/GiiRpcClient.php @@ -73,13 +73,12 @@ class ' . $managerName . 'Consumer extends \Rpc\Consumer /** - * @param Users $users * @param string $event * @param array $params * @throws Exception */ #[Consumer(\'default\')] - public function push(Users $users, string $event, array $params) + public function push(string $event, array $params) { } diff --git a/Gii/GiiRpcService.php b/Gii/GiiRpcService.php index edef6d20..60eac7ea 100644 --- a/Gii/GiiRpcService.php +++ b/Gii/GiiRpcService.php @@ -56,13 +56,11 @@ class ' . $managerName . 'Producer extends Controller /** - * @param Users $users - * @param string $event * @param array $params * @throws Exception */ #[RpcProducer(cmd: \'default\', port: ' . $port . ')] - public function actionIndex() + public function actionIndex(array $params) { }