Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add error code & show function arguments #125

Merged
merged 15 commits into from
Dec 24, 2024
Prev Previous commit
Next Next commit
A few cosmetic changes
xepozz committed Sep 8, 2024
commit 0ab803456c87fd8f197afe67cc57e2891ae9ab2e
3 changes: 1 addition & 2 deletions src/Renderer/HtmlRenderer.php
Original file line number Diff line number Diff line change
@@ -261,7 +261,6 @@ public function renderCallStack(Throwable $t, array $trace = []): string
$index = 0;
}

$length = count($trace);
foreach ($trace as $traceItem) {
$file = !empty($traceItem['file']) ? $traceItem['file'] : null;
$line = !empty($traceItem['line']) ? $traceItem['line'] : null;
@@ -601,7 +600,7 @@ private function groupVendorCallStackItems(array $items): array
$groupedItems[$groupIndex][$index] = $item;
}

/** @psalm-var array<int, array<int, string>> $groupedItems It's need for Psalm <=4.30 only. */
/** @psalm-var array<int, array<int, string>> $groupedItems It's needed for Psalm <=4.30 only. */

return $groupedItems;
}