From 9fc0b7f404a62996e440653edccd3f7b3e763326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 6 Apr 2021 18:23:40 +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 --- Gii/GiiController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Gii/GiiController.php b/Gii/GiiController.php index 70837fed..075ffc51 100644 --- a/Gii/GiiController.php +++ b/Gii/GiiController.php @@ -74,6 +74,7 @@ use Snowflake\Core\JSON; use HttpServer\Http\Request; use HttpServer\Http\Response; use HttpServer\Controller; +use use JetBrains\PhpStorm\ArrayShape; use {$model_namespace}\\{$managerName}; "; } @@ -198,6 +199,7 @@ use {$model_namespace}\\{$managerName}; * @return array * @throws Exception */ + #[ArrayShape([])] private function loadParam(): array { return [' . $this->getData($fields) . '