Skip to content

Commit 5c80f10

Browse files
committed
formatting
1 parent dd323f7 commit 5c80f10

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

source/connect/stable-api.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The following code example shows how to specify {+stable-api+} version 1:
5656
:copyable: true
5757
:start-after: // start-specify-v1
5858
:end-before: // end-specify-v1
59-
:emphasize-lines: 3,5
59+
:emphasize-lines: 3-4
6060

6161
.. note::
6262

@@ -103,7 +103,7 @@ The following code example shows how you can use these parameters when construct
103103
:copyable: true
104104
:start-after: // start-stable-api-options
105105
:end-before: // end-stable-api-options
106-
:emphasize-lines: 3,5
106+
:emphasize-lines: 3-4
107107

108108
API Documentation
109109
-----------------

source/includes/connect/stable-api.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@
22
$uri = "mongodb://<hostname>:<port>";
33

44
$driverOptions = ['serverApi' => new MongoDB\Driver\ServerApi('1')];
5-
65
$client = new MongoDB\Client($uri, [], $driverOptions);
76
// end-specify-v1
87

98
// start-stable-api-options
109
$uri = "mongodb://<hostname>:<port>";
1110

1211
$driverOptions = ['serverApi' => new MongoDB\Driver\ServerApi('1', strict: true, deprecationErrors: true)];
13-
1412
$client = new MongoDB\Client($uri, [], $driverOptions);
1513
// end-stable-api-options

0 commit comments

Comments
 (0)