route('formulary')); } /** * Get the validation rules that apply to the request. * * @return array */ public function rules(): array { $rules = [ 'type' => 'nullable', ]; return \array_merge(parent::rules(), $rules); } }