From 56c9c6254b53840414411e7bc4658e55919c4dba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 25 Mar 2021 19:56:08 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gii/GiiController.php b/Gii/GiiController.php index 66028f7b..8e784db6 100644 --- a/Gii/GiiController.php +++ b/Gii/GiiController.php @@ -160,10 +160,10 @@ use {$model_namespace}\\{$managerName}; { return ' /** - * @return array + * @return string * @throws Exception */ - public function actionAdd() + public function actionAdd(): string { $model = new ' . $className . '(); $model->attributes = $this->loadParam();