From 3119c05e2c529a3e66ef37c88fc4002b3344d9df Mon Sep 17 00:00:00 2001 From: joyqi Date: Tue, 17 May 2022 10:24:56 +0800 Subject: [PATCH] fix #1441, fix #1442 --- var/Widget/Options.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/Widget/Options.php b/var/Widget/Options.php index 585e55f8..acd53a14 100644 --- a/var/Widget/Options.php +++ b/var/Widget/Options.php @@ -263,7 +263,7 @@ class Options extends Base * @param string|null $theme 模版名称 * @return string | void */ - public function themeUrl(?string $path, ?string $theme) + public function themeUrl(?string $path = null, ?string $theme = null) { if (!isset($theme)) { echo Common::url($path, $this->themeUrl);