*/ public function rules(): array { return [ 'name' => 'required', 'email' => 'required|email|unique:users,email,' . auth()->user()->id, ]; } }