fix: some phpstan level 7 errors in Livewire

This commit is contained in:
Roardom
2024-01-07 09:51:26 +00:00
parent 2dd24b3fa1
commit 3630be2d63
5 changed files with 4 additions and 44 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ class UserTorrents extends Component
'showMorePrecision' => ['except' => false],
];
final public function mount($userId): void
final public function mount(int $userId): void
{
$this->user = User::find($userId);
}