From 606250ec7426e9c27cecfb9f3101dfeca43c4bab Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Mon, 9 Aug 2021 02:02:56 +0800 Subject: [PATCH] modify --- System/Snowflake.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Snowflake.php b/System/Snowflake.php index 49961c3b..e3642370 100644 --- a/System/Snowflake.php +++ b/System/Snowflake.php @@ -190,7 +190,7 @@ class Snowflake { if (is_string($className) && class_exists($className)) { return static::$container->get($className, $construct); - } else if (is_array($className) && isset($class['class'])) { + } else if (is_array($className) && isset($className['class'])) { $class = $className['class']; unset($className['class']); return static::$container->newObject($class, $construct, $className);