add clear

This commit is contained in:
as2252258@163.com
2019-12-19 10:53:19 +08:00
parent dea36a9be5
commit 6156ef2cb4
+3 -1
View File
@@ -173,7 +173,9 @@ class HttpClient
public function setIsSSL(bool $isSSL)
{
$this->isSSL = $isSSL;
$this->port = 443;
if ($this->isSSL) {
$this->port = 443;
}
}