From 4a86077e727650ae5e07a2b5c6abdc3dd0219e1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 30 Mar 2021 19:57:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- function.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/function.php b/function.php index c085fcd1..5438d7e4 100644 --- a/function.php +++ b/function.php @@ -36,7 +36,7 @@ if (!function_exists('make')) { function make($name, $default = null): mixed { if (class_exists($name)) { - return Snowflake::createObject($default); + return Snowflake::createObject($name); } if (Snowflake::has($name)) { return Snowflake::app()->get($name);