From e40c06e54893c50ae58b6ac970299352155149bf Mon Sep 17 00:00:00 2001 From: thinkphp Date: Sun, 3 Jul 2016 16:10:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3socket=E9=A9=B1=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/debug/Socket.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/think/debug/Socket.php b/library/think/debug/Socket.php index 01aaa7c6..3fe9c2d0 100644 --- a/library/think/debug/Socket.php +++ b/library/think/debug/Socket.php @@ -85,7 +85,7 @@ class Socket 'css' => $this->css['page'], ]; - foreach ($logs as $type => $val) { + foreach ($log as $type => $val) { $trace[] = [ 'type' => 'groupCollapsed', '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 $address - 地址 * @return bool