fix error in error handler
This commit is contained in:
parent
9b463ce674
commit
05da99c428
1 changed files with 1 additions and 1 deletions
|
@ -645,7 +645,7 @@ function _fatal_error(\Exception $e): void
|
||||||
foreach ($t as $n => $f) {
|
foreach ($t as $n => $f) {
|
||||||
$c = $f['class'] ?? '';
|
$c = $f['class'] ?? '';
|
||||||
$t = $f['type'] ?? '';
|
$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");
|
print("$n: {$f['file']}({$f['line']}): {$c}{$t}{$f['function']}({$a})\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue