Skip to content
This repository has been archived by the owner on Nov 11, 2020. It is now read-only.

Fixed Connection::convertWriteTimeout() docs #186

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/Doctrine/MongoDB/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ public function initialize()
* Checks whether the connection is initialized and connected.
*
* @return boolean
* @deprecated Deprecated since PECL mongo >= 1.5.0
*/
public function isConnected()
{
Expand Down Expand Up @@ -471,7 +472,7 @@ protected function convertConnectTimeout(array $options)
}

/**
* Converts "timeout" MongoClient constructor option to "connectTimeoutMS"
* Converts "wTimeout" MongoClient constructor option to "wTimeoutMS"
* for driver versions 1.4.0+.
*
* Note: MongoClient actually allows case-insensitive option names, but
Expand Down