Skip to content

Commit bf58f85

Browse files
committed
Fix @throws in MongoConnection::connect()
1 parent 56e6bd9 commit bf58f85

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/php/com/mongodb/MongoConnection.class.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ public function protocol() { return $this->proto; }
4141
* Connects and returns this connection
4242
*
4343
* @return self
44-
* @throws peer.AuthenticationException
45-
* @throws io.IOException
44+
* @throws com.mongodb.Error
4645
*/
4746
public function connect(): self {
4847
$this->proto->connect();

0 commit comments

Comments
 (0)