From 565943b76fe68317d9178a601eb9f87644176d37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 7 Jul 2021 17:51:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 c4a28f25..6891a642 100644 --- a/HttpServer/Http/Response.php +++ b/HttpServer/Http/Response.php @@ -150,12 +150,12 @@ class Response extends HttpService } /** - * @param string|null $context + * @param mixed $context * @param int $statusCode * @return bool * @throws Exception */ - public function send(?string $context = '', int $statusCode = 200): mixed + public function send(mixed $context = '', int $statusCode = 200): mixed { $sendData = $this->parseData($context);