From abcd0e8ba205aac8bd9006e99d783afc999af0af Mon Sep 17 00:00:00 2001 From: wn_ Date: Sat, 23 Nov 2024 17:43:24 +0000 Subject: Use native union types in most places. --- include/controls.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/controls.php') diff --git a/include/controls.php b/include/controls.php index b2e71d174..4443bbc55 100755 --- a/include/controls.php +++ b/include/controls.php @@ -81,11 +81,10 @@ } /** - * @param mixed $value * @param array $values * @param array $attributes */ - function select_tag(string $name, $value, array $values, array $attributes = [], string $id = ""): string { + function select_tag(string $name, mixed $value, array $values, array $attributes = [], string $id = ""): string { $attributes_str = attributes_to_string($attributes); $dojo_type = strpos($attributes_str, "dojoType") === false ? "dojoType='fox.form.Select'" : ""; -- cgit v1.2.3-54-g00ecf