From f455c439dee6ba74aa94623ce0c1160023143605 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 19 Jan 2021 20:14:10 +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, 1 insertion(+), 2 deletions(-) diff --git a/Gii/GiiModel.php b/Gii/GiiModel.php index bc937b74..678849ef 100644 --- a/Gii/GiiModel.php +++ b/Gii/GiiModel.php @@ -166,8 +166,7 @@ class ' . $managerName . ' extends ActiveRecord $attributes = $val->getAttributes(); if (!empty($attributes)) { foreach ($attributes as $attribute) { - $over .= " - #[\\" . $attribute->getName() . "('" . implode('\',\'', $attribute->getArguments()) . "')] + $over .= " #[\\" . $attribute->getName() . "('" . implode('\',\'', $attribute->getArguments()) . "')] "; } }