diff --git a/HttpServer/Server.php b/HttpServer/Server.php index 6a310c7b..e5ce946f 100644 --- a/HttpServer/Server.php +++ b/HttpServer/Server.php @@ -364,7 +364,7 @@ class Server extends HttpService * @throws NotFindClassException * @throws ReflectionException */ - private function startRpcService() + private function startRpcService(): Packet|Websocket|Receive|Http|null { $rpcService = Config::get('rpc.service', false, []); if (is_array($rpcService) && !empty($rpcService)) { diff --git a/System/Di/Container.php b/System/Di/Container.php index 0bb9bf44..fc3cce4d 100644 --- a/System/Di/Container.php +++ b/System/Di/Container.php @@ -128,6 +128,7 @@ class Container extends BaseObject $dependencies[$index] = $param; } + var_dump($reflect->getName()); if (!$reflect->isInstantiable()) { throw new NotFindClassException($reflect->getName()); }