From 1c666aa0d6afb2573cee24342a2a8e5c64915312 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A9=E6=96=87=E5=8D=9A?= <9476400@qq.com> Date: Sun, 16 Sep 2018 20:30:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=9D=9E=E8=B0=83=E8=AF=95?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E4=B8=8B=E7=A6=81=E6=AD=A2wsdebug=E6=8E=A8?= =?UTF-8?q?=E9=80=81=E5=92=8C=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/WsDebug.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WsDebug.php b/src/WsDebug.php index ca601d1..322bf50 100644 --- a/src/WsDebug.php +++ b/src/WsDebug.php @@ -28,7 +28,7 @@ public function send( $message, string $type = 'info' ) public function getHtml() : string { if( config( 'app_debug' ) === true ){ - parent::getHtml(); + return parent::getHtml(); } else{ return 'closed'; }