From 59089462e7f65c375de341f0f9725e56dfd74684 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Wed, 8 Dec 2021 11:32:32 +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 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/RpcJsonp.php b/src/RpcJsonp.php index 8bb5a7e..4668eed 100644 --- a/src/RpcJsonp.php +++ b/src/RpcJsonp.php @@ -47,9 +47,6 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa public Note $annotation; - #[Inject(EventProvider::class)] - public EventProvider $eventProvider; - private RpcManager $manager; @@ -72,8 +69,10 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa /** * @param OnBeforeShutdown $beforeShutdown + * @return void * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface + * @throws ReflectionException */ public function onBeforeShutdown(OnBeforeShutdown $beforeShutdown) {