This commit is contained in:
2021-03-25 18:08:58 +08:00
parent dc597a3ca0
commit e89ce9f2f1
+1 -1
View File
@@ -177,7 +177,7 @@ use Database\ActiveRecord;
if (!empty($attributes)) {
foreach ($attributes as $attribute) {
$explode = explode('\\', $attribute->getName());
$over .= " #[" . env($explode) . "('" . implode('\',\'', $attribute->getArguments()) . "')]
$over .= " #[" . end($explode) . "('" . implode('\',\'', $attribute->getArguments()) . "')]
";
}
}