This commit is contained in:
2021-01-19 20:14:10 +08:00
parent b9f7682de8
commit f455c439de
+1 -2
View File
@@ -166,8 +166,7 @@ class ' . $managerName . ' extends ActiveRecord
$attributes = $val->getAttributes(); $attributes = $val->getAttributes();
if (!empty($attributes)) { if (!empty($attributes)) {
foreach ($attributes as $attribute) { foreach ($attributes as $attribute) {
$over .= " $over .= " #[\\" . $attribute->getName() . "('" . implode('\',\'', $attribute->getArguments()) . "')]
#[\\" . $attribute->getName() . "('" . implode('\',\'', $attribute->getArguments()) . "')]
"; ";
} }
} }