Skip to content

Commit ac54356

Browse files
committed
fix:(LAR-165) fix phpstan error
1 parent 5fffb9c commit ac54356

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Livewire/Pages/Forum/Index.php

+2-2
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)