Skip to content

Commit

Permalink
Merge pull request #149 from laravel/fix-phpstan-error
Browse files Browse the repository at this point in the history
Ignore PHPstan error
  • Loading branch information
jessarcher authored May 27, 2024
2 parents dcfdee5 + c3b8b2d commit 5fac84e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Themes/Default/Concerns/DrawsScrollbars.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ protected function scrollbar(Collection $visible, int $firstVisible, int $height

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

return $visible
return $visible // @phpstan-ignore return.type
->values()
->map(fn ($line) => $this->pad($line, $width))
->map(fn ($line, $index) => match ($index) {
Expand Down

0 comments on commit 5fac84e

Please sign in to comment.