Skip to content

Commit f5250ea

Browse files
committed
fix:(LAR-165) fix phpstan error
1 parent 2da177f commit f5250ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Livewire/Pages/Forum/Index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ public function mount(): void
6060
protected function applyPopular(Builder $query): Builder
6161
{
6262
if ($this->popular) {
63-
return $query
63+
return $query // @phpstan-ignore-line
6464
->withCount('replies')
6565
->orderByDesc('replies_count')
66-
->OrderByViews(); // @phpstan-ignore-line
66+
->OrderByViews();
6767
}
6868

6969
return $query;

0 commit comments

Comments
 (0)