Skip to content

Commit

Permalink
Fix docs build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus committed Oct 11, 2022
1 parent 8ec471d commit c91d4d1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs/reference/bson.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Overview
--------

MongoDB stores data records as BSON documents. BSON is a binary representation
of :term:`JSON` documents, though it contains more data types than JSON. For the
BSON spec, see `bsonspec.org <https://bsonspec.org/>`_.
of JSON documents, though it contains more data types than JSON. For the BSON
spec, see `bsonspec.org <https://bsonspec.org/>`_.

By default, the |php-library| returns BSON documents as
:phpclass:`MongoDB\\Model\\BSONDocument` objects and BSON arrays as
Expand Down Expand Up @@ -106,7 +106,7 @@ of the PHP class in a special property within the BSON document.
When deserializing a PHP variable from BSON, the encoded class name of a
:php:`Persistable <mongodb-bson-persistable>` object will override any class
specified in the type map, but it will not override ``"array"`` and
``"stdClass"`` or ``"object"``. This is discussed in the
``"stdClass"`` or ``"object"``. This is discussed in the
:php:`persistence specification <mongodb.persistence>` but it bears
repeating.

Expand All @@ -121,7 +121,7 @@ Consider the following class definition:
private $id;
private $name;
private $createdAt;

public function __construct($name)
{
$this->id = new MongoDB\BSON\ObjectId;
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/method/MongoDBChangeStream-current.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ See Also
- :ref:`Tailable Cursor Iteration <php-tailable-cursor>`
- :manual:`Change Streams </changeStreams>` documentation in the MongoDB manual
- :manual:`Change Events </reference/change-events/>` documentation in the
MongoDB manual
MongoDB manual
2 changes: 1 addition & 1 deletion docs/reference/method/MongoDBChangeStream-key.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ See Also
- :phpmethod:`MongoDB\\Database::watch()`
- :php:`Iterator::key() <iterator.key>`
- :ref:`Tailable Cursor Iteration <php-tailable-cursor>`
- :manual:`Change Streams </changeStreams>` documentation in the MongoDB manual
- :manual:`Change Streams </changeStreams>` documentation in the MongoDB manual

0 comments on commit c91d4d1

Please sign in to comment.