This commit is contained in:
2020-11-17 10:36:51 +08:00
parent 9abaebbd17
commit ec99186fe2
+1 -1
View File
@@ -20,7 +20,7 @@ class HttpClient extends Component
* @param $name * @param $name
* @return IClient * @return IClient
*/ */
public static function NewRequest($name): IClient public static function NewRequest(): IClient
{ {
if (Coroutine::getCid() > 0) { if (Coroutine::getCid() > 0) {
return Client::NewRequest(); return Client::NewRequest();