改名
This commit is contained in:
+1
-1
@@ -177,7 +177,7 @@ use Database\ActiveRecord;
|
|||||||
if (!empty($attributes)) {
|
if (!empty($attributes)) {
|
||||||
foreach ($attributes as $attribute) {
|
foreach ($attributes as $attribute) {
|
||||||
$explode = explode('\\', $attribute->getName());
|
$explode = explode('\\', $attribute->getName());
|
||||||
$over .= " #[" . env($explode) . "('" . implode('\',\'', $attribute->getArguments()) . "')]
|
$over .= " #[" . end($explode) . "('" . implode('\',\'', $attribute->getArguments()) . "')]
|
||||||
";
|
";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user