From dd4f460e570adf68c9f41befe0670a789c3bea6c Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sun, 25 Jul 2021 13:30:08 +0800 Subject: [PATCH] modify --- HttpServer/Http/Response.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HttpServer/Http/Response.php b/HttpServer/Http/Response.php index fc3d7875..42a6c5a6 100644 --- a/HttpServer/Http/Response.php +++ b/HttpServer/Http/Response.php @@ -199,7 +199,7 @@ class Response extends HttpService private function printResult($result): void { $result = Help::toString($result); - $string = PHP_EOL . 'Command Result: ' . PHP_EOL . PHP_EOL; + $string = 'Command Result: ' . PHP_EOL . PHP_EOL; fire('CONSOLE_END'); if (str_contains((string)$result, 'Event::rshutdown(): Event::wait()')) { return; @@ -209,7 +209,7 @@ class Response extends HttpService } else { $string .= $result . PHP_EOL . PHP_EOL; } - $string .= 'Command End!' . PHP_EOL . PHP_EOL; + $string .= 'Command End!' . PHP_EOL; print_r($string); }