This commit is contained in:
2021-03-23 10:31:41 +08:00
parent 14bae86b66
commit 66a5627486
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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)) {