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); }