summaryrefslogtreecommitdiff
path: root/include/controls.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/controls.php')
-rwxr-xr-xinclude/controls.php3
1 files changed, 1 insertions, 2 deletions
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<int|string, string> $values
* @param array<string, mixed> $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'" : "";