diff --git a/src/Livewire/PersonalInfo.php b/src/Livewire/PersonalInfo.php index 6efc7b0..9f54b3e 100644 --- a/src/Livewire/PersonalInfo.php +++ b/src/Livewire/PersonalInfo.php @@ -23,7 +23,7 @@ class PersonalInfo extends MyProfileComponent public static $sort = 10; - public function mount() + public function mount(): void { $this->user = Filament::getCurrentPanel()->auth()->user(); $this->userClass = get_class($this->user); @@ -36,7 +36,7 @@ public function mount() $this->form->fill($this->user->only($this->only)); } - protected function getProfileFormSchema() + protected function getProfileFormSchema(): array { $groupFields = Forms\Components\Group::make([ $this->getNameComponent(),