From d3909caca90ae26d083c73fd81c5f02f30e018a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 14 Dec 2020 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 --- Gii/GiiModel.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Gii/GiiModel.php b/Gii/GiiModel.php index 7e9a4364..dc1eddf0 100644 --- a/Gii/GiiModel.php +++ b/Gii/GiiModel.php @@ -202,7 +202,8 @@ class ' . $managerName . ' extends ActiveRecord /** * @param $value * @return false|string - */ + * @throws Exception + */ public function set' . ucfirst($field['Field']) . 'Attribute($value) { if ( !is_string($value) ) {