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) { }