diff options
| author | wn_ <invalid@email.com> | 2024-11-23 17:43:24 +0000 |
|---|---|---|
| committer | wn_ <invalid@email.com> | 2024-11-23 17:43:24 +0000 |
| commit | abcd0e8ba205aac8bd9006e99d783afc999af0af (patch) | |
| tree | 8635fcd5b239f18db5ff831c7ef21a290a8ac6d8 /include/controls.php | |
| parent | d4636716fb6e1879098823c2f037db5d8d3f24a0 (diff) | |
Use native union types in most places.
Diffstat (limited to 'include/controls.php')
| -rwxr-xr-x | include/controls.php | 3 |
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'" : ""; |