From 5bf8a3a5d53be4b6a0761aa19d2037589b2df105 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 25 Mar 2021 18:06:15 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gii/GiiModel.php b/Gii/GiiModel.php index 0a1d21d3..216ee929 100644 --- a/Gii/GiiModel.php +++ b/Gii/GiiModel.php @@ -66,7 +66,7 @@ namespace ' . $namespace . '; '; $imports = $this->getImports($modelPath['path'] . '/' . $managerName . '.php', $class); if (!empty($imports)) { - $html .= $imports . PHP_EOL. PHP_EOL; + $html .= $imports . PHP_EOL; } } catch (\Throwable $e) { logger()->error($e->getMessage());