Skip to content

Commit 677b765

Browse files
committed
qualify type names
1 parent 5a32bae commit 677b765

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

source/includes/connect/atlas.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
$uri = "<connection string>";
66

77
// Create a MongoDB client with server API options
8-
$client = new Client($uri, [], [
8+
$client = new MongoDB\Client($uri, [], [
99
'serverApi' => [
1010
'version' => '1'
1111
]

source/includes/connect/direct-connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
$uri = "mongodb://<hostname>:<port>/?directConnection=true";
55

66
// Create a MongoDB client
7-
$client = new Client($uri);
7+
$client = new MongoDB\Client($uri);

source/includes/connect/replica-set.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
$uri = "mongodb://host1:27017/?replicaSet=sampleRS";
55

66
// Create a MongoDB client
7-
$client = new Client($uri);
7+
$client = new MongoDB\Client($uri);

0 commit comments

Comments
 (0)