改名
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user