From f77ce9878b9ba29cfd6b29bd4630ad68345b7701 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 4 Aug 2021 10:16:03 +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 --- Server/Response.php | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Server/Response.php b/Server/Response.php index ea456c15..ff7fecbd 100644 --- a/Server/Response.php +++ b/Server/Response.php @@ -11,23 +11,23 @@ use HttpServer\Http\Response as HttpResponse; /** * Class Response * @package Server - * @mixin \HttpServer\Http\Response + * @mixin HttpResponse */ class Response { - const JSON = 'json'; - const XML = 'xml'; - const HTML = 'html'; + const JSON = 'json'; + const XML = 'xml'; + const HTML = 'html'; - /** - * @param $name - * @param $args - * @return mixed - */ - public function __call($name, $args) - { - return Context::getContext(HttpResponse::class)->{$name}(...$args); - } + /** + * @param $name + * @param $args + * @return mixed + */ + public function __call($name, $args) + { + return Context::getContext(HttpResponse::class)->{$name}(...$args); + } }