From f1a3b7a8ca1f38c796a7577727172c5ee319e4b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Sun, 1 Aug 2021 15:07:55 +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/HttpParams.php | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/HttpServer/Http/HttpParams.php b/HttpServer/Http/HttpParams.php index a0f1ca91..b9a5b1b5 100644 --- a/HttpServer/Http/HttpParams.php +++ b/HttpServer/Http/HttpParams.php @@ -25,16 +25,19 @@ use Snowflake\Snowflake; class HttpParams { - /** @var array */ - private array $_gets = []; + /** @var array|null */ + private ?array $_gets = []; - private array $_posts = []; - - /** @var array */ - private array $_files = []; + /** @var array|null */ + private ?array $_posts = []; + /** @var array|null */ + private ?array $_files = []; + + + /** @var mixed|array */ private mixed $_rawContent = [];