Skip to content

Commit c90decc

Browse files
committed
formatting fix
1 parent c697cac commit c90decc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

source/write/run-command.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,10 @@ parameters, see the :ref:`Additional Information section
7171
.. code-block:: php
7272

7373
$readPref = new MongoDB\Driver\ReadPreference('primaryPreferred');
74-
$result = $database->command(['ping' => 1], ['readPreference' => $readPref]);
74+
$result = $database->command(
75+
['ping' => 1],
76+
['readPreference' => $readPref]
77+
);
7578

7679
For more information on read preference options, see :manual:`Read
7780
Preference </core/read-preference/>` in the Server manual.
@@ -148,7 +151,7 @@ the plan selected by the query optimizer, and any rejected
148151
plans. The output also contains information about the execution of the
149152
``explain`` command:
150153

151-
.. code-block:: json
154+
.. code-block:: none
152155
:emphasize-lines: 2, 5-6
153156

154157
string(1203)

0 commit comments

Comments
 (0)