From 1d45e856693ad4552813b28cee598ca9445a6790 Mon Sep 17 00:00:00 2001 From: liugang Date: Thu, 20 Jul 2023 16:28:18 +0800 Subject: [PATCH] * modulemenu: modify the method return value type to allow returning null. --- lib/zin/wg/modulemenu/v1.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zin/wg/modulemenu/v1.php b/lib/zin/wg/modulemenu/v1.php index a28dfe6565..5c532a1582 100644 --- a/lib/zin/wg/modulemenu/v1.php +++ b/lib/zin/wg/modulemenu/v1.php @@ -75,7 +75,7 @@ class moduleMenu extends wg return ''; } - private function buildBtns(): wg + private function buildBtns(): wg|null { $settingLink = $this->prop('settingLink'); $settingText = $this->prop('settingText');