From 0900c13843d355a7513dc52d084ee8a226861a8e Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Thu, 21 Mar 2024 00:57:59 +0100 Subject: [PATCH] Container::validate(): add Container to $controls param typehint Containers are already supported, it just was not reflected in the type hint. --- src/Forms/Container.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Forms/Container.php b/src/Forms/Container.php index f1cbb629..e412c1b4 100644 --- a/src/Forms/Container.php +++ b/src/Forms/Container.php @@ -219,7 +219,7 @@ public function isValid(): bool /** * Performs the server side validation. - * @param Control[]|null $controls + * @param (Control|self)[]|null $controls */ public function validate(?array $controls = null): void {