input('email'))) { $this->merge(['email' => Str::lower($this->input('email'))]); } } /** * Get the validation rules that apply to the request. * * @return array|string> */ public function rules(): array { return $this->profileRules($this->user()->id); } }