From 02a29a348e7658683564daeacaa4f14a2068a8c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 20 Apr 2023 14:59:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GiiModel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GiiModel.php b/GiiModel.php index c50afe9..9d3ba08 100644 --- a/GiiModel.php +++ b/GiiModel.php @@ -151,7 +151,7 @@ class ' . $managerName . ' extends Model if ($field['Type'] === 'json') { $function = ' /** - * @param string|null $value + * @param array|null $value * @return int|bool|string * @throws Exception */ @@ -163,7 +163,7 @@ class ' . $managerName . ' extends Model $get_function = ' /** - * @param $value + * @param string|null $value * @return array|null|bool */ public function get' . ucfirst($field['Field']) . 'Attribute(?string $value): array|null|bool