From ab354f6f21fbc8edaf3ab1f31d8239bb735aefe3 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 30 Apr 2024 14:14:24 +0800 Subject: [PATCH] * Modify param type. --- lib/zin/wg/dropmenu/v1.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zin/wg/dropmenu/v1.php b/lib/zin/wg/dropmenu/v1.php index 7b140909de..333adeec05 100644 --- a/lib/zin/wg/dropmenu/v1.php +++ b/lib/zin/wg/dropmenu/v1.php @@ -52,7 +52,7 @@ class dropmenu extends wg return file_get_contents(__DIR__ . DS . 'css' . DS . 'v1.css'); } - protected function buildDropmenu(string $menuID, string $id, string $url, string $text, null|array $data, string|int $defaultValue) + protected function buildDropmenu(string $menuID, string $id, string $url, string $text, null|array $data, string|int|null $defaultValue) { $cache = $this->prop('cache'); return zui::dropmenu