Skip to content

Commit 03336c3

Browse files
committed
Merge branch '1.0.x' into 1.1.x
Conflicts: lib/Doctrine/MongoDB/Connection.php
2 parents e9dc1ea + 7874c71 commit 03336c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Doctrine/MongoDB/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function __construct($server = null, array $options = array(), Configurat
8181
{
8282
if ($server instanceof \MongoClient || $server instanceof \Mongo) {
8383
$this->mongoClient = $server;
84-
} elseif ($server !== null) {
84+
} else {
8585
$this->server = $server;
8686
$this->options = $options;
8787
}

0 commit comments

Comments
 (0)