This commit is contained in:
2021-04-06 18:29:54 +08:00
parent 0b3b27c7a3
commit dd6279a269
-4
View File
@@ -240,16 +240,12 @@ abstract class GiiBase
$_array = [];
foreach ($attribute->getArguments() as $_key => $argument) {
$argument = $this->resolveArray($argument);
if (is_numeric($_key)) {
$_array[] = '\'' . $argument . '\'';
} else {
if (is_numeric($_key)) {
$_array[] = $argument;
} else {
$_array[] = $_key . ': ' . $argument . '';
}
}
}
$over .= " #[" . end($explode) . "(" . implode(',', $_array) . ")]
";
}