fixed statemachine

This commit is contained in:
Edward Yang 2022-08-09 15:54:47 +08:00
parent e221f3804f
commit c5ea49428d
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ class StateMachineService
$nextStatusCodes = array_keys($nextStatus);
$result = [];
foreach ($nextStatusCodes as $status) {
$result[$status] = [
$result[] = [
'status' => $status,
'name' => trans($status)
];