This commit is contained in:
2021-08-18 11:56:19 +08:00
parent f375eec0a0
commit 99e2f36794
9 changed files with 21 additions and 14 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ class Request extends HttpService implements RequestInterface
*/
public function getConnectInfo(): array|null
{
$server = ServerManager::getContext()->getServer();
$server = di(ServerManager::class)->getServer();
return $server->getClientInfo($this->getClientId());
}