From 3642cd343d4c1aad4dca7c77bafc6b5726b120cf Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Fri, 12 Jul 2019 18:50:05 +0800 Subject: [PATCH] add clear --- wx/Http.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/wx/Http.php b/wx/Http.php index 5046f21..f4f395a 100644 --- a/wx/Http.php +++ b/wx/Http.php @@ -38,12 +38,15 @@ class Http } /** - * @param $url + * @param $url * @param string $type * @param array $data - * @return Result + * @param callable|NULL $callback + * @param bool $isSSL + * @return array|mixed|Result + * @throws \Exception + * * 使用swoole协程方式请求 - * @throws */ private function coroutine($url, $type = 'get', $data = [], callable $callback = NULL, $isSSL = FALSE) {