fix: add type hints to Livewire computed properties

This commit is contained in:
Roardom
2024-01-14 10:00:41 +00:00
parent 0da9cef272
commit b6a3917575
39 changed files with 138 additions and 246 deletions
+3
View File
@@ -57,6 +57,9 @@ class ForumTopicSearch extends Component
$this->resetPage();
}
/**
* @return \Illuminate\Contracts\Pagination\LengthAwarePaginator<Topic>
*/
final public function getTopicsProperty(): \Illuminate\Contracts\Pagination\LengthAwarePaginator
{
return Topic::query()