Skip to content

Commit 57e6728

Browse files
mongoKartnorareidy
andauthored
Apply suggestions from code review
Co-authored-by: Nora Reidy <[email protected]>
1 parent a1470a6 commit 57e6728

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/connect/connection-options.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ Using the Connection URI
3636

3737
If you pass a connection URI to the ``MongoDB\Client`` constructor, you can include
3838
connection options in the URI as ``<name>=<value>`` pairs. In the following example,
39-
the connection URI contains the ``tls`` option with a value of ``true`` and the
40-
``tlsCertificateKeyFile`` option with a value of ``/path/to/file.pem``:
39+
the connection URI sets the ``tls`` option to ``true`` and the
40+
``tlsCertificateKeyFile`` option to ``/path/to/file.pem``:
4141

4242
.. literalinclude:: /includes/connect/connection-options.php
4343
:language: php
@@ -56,7 +56,7 @@ instead of including them in your connection URI.
5656
Configuring the connection this way makes it easier to
5757
change settings at runtime and helps you catch errors during compilation.
5858

59-
The following example shows how to use the the ``$uriOptions`` parameter of the
59+
The following example shows how to use the ``$uriOptions`` parameter of the
6060
``MongoDB\Client`` constructor to set connection options:
6161

6262
.. literalinclude:: /includes/connect/connection-options.php
@@ -335,7 +335,7 @@ Miscellaneous Configuration
335335
* - :manual:`loadBalanced </reference/connection-string/#mongodb-urioption-urioption.loadbalanced>`
336336
- | **Data Type**: {+bool-data-type+}
337337
| **MongoDB\\Client Example**: ``$uriOptions = [ 'loadBalanced' => true ];``
338-
| **Connection URI Example**: ``loadBalanced=false``
338+
| **Connection URI Example**: ``loadBalanced=true``
339339

340340
* - :manual:`srvMaxHosts </reference/connection-string/#mongodb-urioption-urioption.srvmaxhosts>`
341341
- | **Data Type**: {+int-data-type+}

0 commit comments

Comments
 (0)