mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-08 04:00:14 -05:00
fix: some phpstan level 7 errors in Livewire
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user