fix error in error handler

This commit is contained in:
Shish 2023-04-03 22:14:41 +00:00
parent 9b463ce674
commit 05da99c428
1 changed files with 1 additions and 1 deletions

View File

@ -645,7 +645,7 @@ function _fatal_error(\Exception $e): void
foreach ($t as $n => $f) {
$c = $f['class'] ?? '';
$t = $f['type'] ?? '';
$a = implode(", ", array_map("Shimmie2\stringer", $f['args']));
$a = implode(", ", array_map("Shimmie2\stringer", $f['args'] ?? []));
print("$n: {$f['file']}({$f['line']}): {$c}{$t}{$f['function']}({$a})\n");
}