From 21bdf32fc3a6d970b15c99767763674f021bf0da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 23 Feb 2021 16:58:08 +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/Pool/ObjectPool.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Pool/ObjectPool.php b/System/Pool/ObjectPool.php index 03997a74..93689aac 100644 --- a/System/Pool/ObjectPool.php +++ b/System/Pool/ObjectPool.php @@ -51,7 +51,7 @@ class ObjectPool extends \Snowflake\Abstracts\Pool public function createClient(string $name, mixed $config): mixed { // TODO: Implement createClient() method. - return Snowflake::createObject(array_shift($config)); + return Snowflake::createObject($config); }