From 63437f77a7b2a441e855e547261011e928834f7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 2 Sep 2020 18:22:16 +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 --- system/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Application.php b/system/Application.php index 6de29979..285fa9a1 100644 --- a/system/Application.php +++ b/system/Application.php @@ -50,7 +50,7 @@ class Application extends BaseApplication if (!class_exists($service)) { throw new NotFindClassException($service); } - $class = Snowflake::createObject($service, [Snowflake::get()]); + $class = Snowflake::createObject($service); if (method_exists($class, 'onImport')) { $class->onImport($this); }