From 48475f7745519f8418a2cb845f1ae63d49202a8a Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 24 Jul 2020 18:00:00 +0800 Subject: [PATCH] update src/Pool/MongoDBPool.php. --- src/Pool/MongoDBPool.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Pool/MongoDBPool.php b/src/Pool/MongoDBPool.php index 03410fb..d3cc988 100644 --- a/src/Pool/MongoDBPool.php +++ b/src/Pool/MongoDBPool.php @@ -10,7 +10,7 @@ namespace Hyperf\Mongodb\Pool; use Hyperf\Contract\ConfigInterface; use Hyperf\Contract\ConnectionInterface; -use Hyperf\Mongodb\MongoDbConnection; +use Hyperf\Mongodb\MongodbConnection; use Hyperf\Pool\Pool; use Hyperf\Utils\Arr; use Psr\Container\ContainerInterface; @@ -52,6 +52,6 @@ class MongoDBPool extends Pool protected function createConnection(): ConnectionInterface { - return new MongoDbConnection($this->container, $this, $this->config); + return new MongodbConnection($this->container, $this, $this->config); } }