This commit is contained in:
2021-12-08 11:32:32 +08:00
parent 845b8b36d1
commit 59089462e7
+2 -3
View File
@@ -47,9 +47,6 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa
public Note $annotation; public Note $annotation;
#[Inject(EventProvider::class)]
public EventProvider $eventProvider;
private RpcManager $manager; private RpcManager $manager;
@@ -72,8 +69,10 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa
/** /**
* @param OnBeforeShutdown $beforeShutdown * @param OnBeforeShutdown $beforeShutdown
* @return void
* @throws ContainerExceptionInterface * @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface * @throws NotFoundExceptionInterface
* @throws ReflectionException
*/ */
public function onBeforeShutdown(OnBeforeShutdown $beforeShutdown) public function onBeforeShutdown(OnBeforeShutdown $beforeShutdown)
{ {