update src/Pool/MongoDBPool.php.

This commit is contained in:
Adam 2020-07-24 18:00:00 +08:00 committed by Gitee
parent c0b6626a5f
commit 48475f7745

View File

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