From 9601ac92c3bc3d59e9a07cbc3e2c33f894071768 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Sat, 25 Nov 2023 11:13:13 +0800 Subject: [PATCH] * Refactor custom::mergeFeatureBar method. --- module/custom/model.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/custom/model.php b/module/custom/model.php index e6dcad08c5..ed5a92b71c 100644 --- a/module/custom/model.php +++ b/module/custom/model.php @@ -489,6 +489,7 @@ class customModel extends model } /** + * 将查询条件合并到筛选标签中。 * Merge shortcut query in featureBar. * * @param string $module @@ -496,7 +497,7 @@ class customModel extends model * @access public * @return void */ - public static function mergeFeatureBar($module, $method) + public static function mergeFeatureBar(string $module, string $method): void { global $lang, $app; if(!isset($lang->$module->featureBar[$method])) return;