修正socket驱动

This commit is contained in:
thinkphp
2016-07-03 16:10:02 +08:00
parent 3c14787d4f
commit e40c06e548

View File

@@ -85,7 +85,7 @@ class Socket
'css' => $this->css['page'], 'css' => $this->css['page'],
]; ];
foreach ($logs as $type => $val) { foreach ($log as $type => $val) {
$trace[] = [ $trace[] = [
'type' => 'groupCollapsed', 'type' => 'groupCollapsed',
'msg' => '[ ' . $type . ' ]', 'msg' => '[ ' . $type . ' ]',
@@ -226,7 +226,7 @@ class Socket
} }
/** /**
* @param null $host - $host of socket server * @param string $host - $host of socket server
* @param string $message - 发送的消息 * @param string $message - 发送的消息
* @param string $address - 地址 * @param string $address - 地址
* @return bool * @return bool