This commit is contained in:
2021-09-29 11:39:24 +08:00
parent e29659c930
commit e024031214
+10 -1
View File
@@ -246,8 +246,17 @@ abstract class GiiBase
$_array[] = $_key . ': ' . $argument . '';
}
}
$over .= " #[" . end($explode) . "(" . implode(',', $_array) . ")]
if (empty($_array)){
$end = " #[" . end($explode) . "]
";
}else{
$end = " #[" . end($explode) . "(" . implode(',', $_array) . ")]
";
}
if (!str_contains($over, $end)){
$over .= $end;
}
}
}