More hard-typed variables

This commit is contained in:
Adrien Ufferte
2025-11-17 15:07:01 +01:00
parent eee5ee65e6
commit 501a0818c1
28 changed files with 84 additions and 84 deletions
@@ -3,9 +3,9 @@ extends PanelContainer
@onready var form_validator_control: FormValidator = $MarginContainer/FormValidator
func _on_form_validator_control_control_validated(control, passed, messages) -> void:
var error_label = _get_error_label(control)
var valid_label = _get_valid_label(control)
func _on_form_validator_control_control_validated(control: Control, passed: bool, messages: PackedStringArray) -> void:
var error_label: Label = _get_error_label(control)
var valid_label: Label = _get_valid_label(control)
if passed:
if error_label:
error_label.hide()