Skip to content

Commit 916be72

Browse files
committed
fixes
1 parent 9165d44 commit 916be72

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

source/connect/connection-targets.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ The following code shows how to use the {+driver-short+} to connect to a local M
6868
deployment:
6969

7070
.. literalinclude:: /includes/connect/client.php
71-
:language: php
72-
:copyable: true
71+
:language: php
72+
:copyable: true
7373

7474
.. _php-connection-replica-set:
7575

source/includes/connect/atlas.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
<?php
2-
require 'vendor/autoload.php'; // Make sure you have installed the MongoDB library via Composer
3-
4-
use MongoDB\Client;
5-
use MongoDB\Driver\Exception\Exception;
62

73
try {
84
// Replace the placeholder with your Atlas connection string

0 commit comments

Comments
 (0)