From 62cc180554ea81aa4fd53c8e5a6d91c4a721dcf2 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sat, 11 May 2024 02:50:46 +0200 Subject: [PATCH] Update to f45a83bf2c07118741fcd3fa247942c65bd75b99 --- src/classes/validationsingle.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/validationsingle.gd b/src/classes/validationsingle.gd index 10eb244..aa3d631 100644 --- a/src/classes/validationsingle.gd +++ b/src/classes/validationsingle.gd @@ -282,7 +282,7 @@ func has_values(values: Array) -> CoreValidationSingle: ## Ensures that [param data] contains at least <[code]minimum_matches[/code]> (or all if set to [code]-1[/code]) values.[br] ## Applies to [String] & [StringName]. -func contains(values: Array[String], minimum_matches: int = 1) -> CoreValidationSingle: +func contains(values: Array, minimum_matches: int = 1) -> CoreValidationSingle: rules.append({ "type": CoreTypes.ValidationType.HAS_VALUES, "values": values, "minimum_matches": minimum_matches }) return self