user()?->can('user.update') ?? false; } /** * Get the validation rules that apply to the request. * * @return array|string> */ public function rules(): array { return [ 'password' => ['required', 'confirmed', Password::min(12)->mixedCase()->numbers()->symbols()], ]; } }