add clear
This commit is contained in:
+2
-1
@@ -141,7 +141,8 @@ class WxClient
|
|||||||
*/
|
*/
|
||||||
private function getHostIp()
|
private function getHostIp()
|
||||||
{
|
{
|
||||||
return array_shift(\Co::getAddrInfo($this->host));
|
$host = \Co::getAddrInfo($this->host);
|
||||||
|
return array_shift($host);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user