From 5d77face53f1d123c76f8993600f893db7072bbc Mon Sep 17 00:00:00 2001 From: Administrator Date: Sun, 9 Jan 2022 14:46:34 +0800 Subject: [PATCH] 1 --- DatabasesProviders.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DatabasesProviders.php b/DatabasesProviders.php index 9a68463..40ea5a7 100644 --- a/DatabasesProviders.php +++ b/DatabasesProviders.php @@ -56,7 +56,7 @@ class DatabasesProviders extends Providers foreach ($databases as $key => $database) { $database = $this->_settings($database); - $connection = Kiri::getDi()->create(Connection::class, $database); + $connection = Kiri::getDi()->create(Connection::class, [$database]); $connection->fill(); $app->set($key, $connection);