update src/Mongodb.php.
This commit is contained in:
parent
9ebee15441
commit
9b56b4e360
|
@ -239,7 +239,7 @@ class Mongodb
|
|||
if ($hasContextConnection) {
|
||||
$connection = Context::get($this->getContextKey());
|
||||
}
|
||||
if (!$connection instanceof MongoDbConnection) {
|
||||
if (!$connection instanceof MongodbConnection) {
|
||||
$pool = $this->factory->getPool($this->poolName);
|
||||
$connection = $pool->get()->getConnection();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user