From ad78b85ea0ac7d43109a4253d57562c9e5f038a5 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Wed, 21 Aug 2019 13:27:12 +0800 Subject: [PATCH] add clear --- wx/WxClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wx/WxClient.php b/wx/WxClient.php index 3f24cf1..8606db1 100644 --- a/wx/WxClient.php +++ b/wx/WxClient.php @@ -247,7 +247,7 @@ class WxClient private function structure($body, $_data) { $this->setIsSSL(false); - $this->setHeaders(null); + $this->setHeaders([]); if ($this->callback !== NULL) { $result = call_user_func($this->callback, $body, $_data);