From 37696b4d7f3499f0d1c63c45bb27b55c079afeb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 29 Oct 2020 11:10:26 +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/Formatter/HtmlFormatter.php | 4 ++-- System/Core/JSON.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/HttpServer/Http/Formatter/HtmlFormatter.php b/HttpServer/Http/Formatter/HtmlFormatter.php index 58a8b8e4..a3755d04 100644 --- a/HttpServer/Http/Formatter/HtmlFormatter.php +++ b/HttpServer/Http/Formatter/HtmlFormatter.php @@ -24,9 +24,9 @@ class HtmlFormatter extends Application implements IFormatter public $data; /** @var Response */ - public $status; + public Response $status; - public $header = []; + public array $header = []; /** * @param $data diff --git a/System/Core/JSON.php b/System/Core/JSON.php index 3e641318..34e01e24 100644 --- a/System/Core/JSON.php +++ b/System/Core/JSON.php @@ -6,7 +6,7 @@ * Time: 01:04 */ -declare(strict_types=1); +//declare(strict_types=1); namespace Snowflake\Core;