check(); } /** * Get the validation rules that apply to the request. * * @return array|string> */ public function rules(): array { return [ 'reclamation_id' => 'required|exists:reclamations,id', 'delete_old_records' => 'nullable|string', 'send_notifications' => 'nullable|boolean', ]; } }