[WIP] Refactoring - Uniform error message + TOML exception catch

This commit is contained in:
slawkens
2026-03-01 21:45:48 +01:00
parent 4ca79a1e85
commit fbb5034458
12 changed files with 92 additions and 38 deletions

View File

@@ -38,13 +38,10 @@ class Items
continue;
}
$article = $item['article'] ?? '';
$name = $item['name'] ?? '';
$plural = $item['plural'] ?? '';
$items[$id] = [
'article' => $article,
'name' => $name,
'plural' => $plural,
'article' => $item['article'] ?? '',
'name' => $item['name'] ?? '',
'plural' => $item['plural'] ?? '',
'attributes' => $attributes,
];
}