Skip to content

Commit 0ab8034

Browse files
committed
A few cosmetic changes
1 parent 77764e7 commit 0ab8034

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Renderer/HtmlRenderer.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@ public function renderCallStack(Throwable $t, array $trace = []): string
261261
$index = 0;
262262
}
263263

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

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

606605
return $groupedItems;
607606
}

0 commit comments

Comments
 (0)