From c590efb73959b82202c643cf322d457364ca422c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 12 Apr 2021 15:54:43 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gii/GiiModel.php b/Gii/GiiModel.php index 79d21b01..e7943784 100644 --- a/Gii/GiiModel.php +++ b/Gii/GiiModel.php @@ -69,10 +69,10 @@ namespace ' . $namespace . '; } if (!str_contains($imports, 'Annotation\Model\Set')) { - $html .= 'use Annotation\Model\Set' . PHP_EOL; + $html .= 'use Annotation\Model\Set;' . PHP_EOL; } if (!str_contains($imports, 'Annotation\Model\Get')) { - $html .= 'use Annotation\Model\Get' . PHP_EOL; + $html .= 'use Annotation\Model\Get;' . PHP_EOL; } } catch (\Throwable $e) { logger()->addError($e, 'throwable');