check(); } /** * Get the validation rules that apply to the request. * * @return array|string> */ public function rules(): array { return [ 'id' => 'required|exists:schedules,id', 'installation_date' => 'required|date', 'comment' => 'required|string', ]; } }