From 0207b0ce9da3d61b20505fb2ad0d20f05ad1399f Mon Sep 17 00:00:00 2001 From: David Grudl Date: Sun, 18 Feb 2024 01:46:33 +0100 Subject: [PATCH] Container::getUntrustedValues() has default value --- 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 92b5bbcbb..f1cbb629e 100644 --- a/src/Forms/Container.php +++ b/src/Forms/Container.php @@ -134,7 +134,7 @@ public function getValues(string|object|bool|null $returnType = null, ?array $co * Returns the potentially unvalidated values submitted by the form. * @param Control[]|null $controls */ - public function getUntrustedValues(string|object|null $returnType, ?array $controls = null): object|array + public function getUntrustedValues(string|object|null $returnType = null, ?array $controls = null): object|array { if (is_object($returnType)) { $obj = $returnType;