Skip to content

Commit c3b8b2d

Browse files
committed
Ignore phpstan error that should never occur in practice
1 parent dcfdee5 commit c3b8b2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Themes/Default/Concerns/DrawsScrollbars.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ protected function scrollbar(Collection $visible, int $firstVisible, int $height
2020

2121
$scrollPosition = $this->scrollPosition($firstVisible, $height, $total);
2222

23-
return $visible
23+
return $visible // @phpstan-ignore return.type
2424
->values()
2525
->map(fn ($line) => $this->pad($line, $width))
2626
->map(fn ($line, $index) => match ($index) {

0 commit comments

Comments
 (0)