File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ Overview
1414--------
1515
1616MongoDB stores data records as BSON documents. BSON is a binary representation
17- of :term:` JSON` documents, though it contains more data types than JSON. For the
18- BSON spec, see `bsonspec.org <https://bsonspec.org/>`_.
17+ of JSON documents, though it contains more data types than JSON. For the BSON
18+ spec, see `bsonspec.org <https://bsonspec.org/>`_.
1919
2020By default, the |php-library| returns BSON documents as
2121:phpclass:`MongoDB\\Model\\BSONDocument` objects and BSON arrays as
@@ -106,7 +106,7 @@ of the PHP class in a special property within the BSON document.
106106 When deserializing a PHP variable from BSON, the encoded class name of a
107107 :php:`Persistable <mongodb-bson-persistable>` object will override any class
108108 specified in the type map, but it will not override ``"array"`` and
109- ``"stdClass"`` or ``"object"``. This is discussed in the
109+ ``"stdClass"`` or ``"object"``. This is discussed in the
110110 :php:`persistence specification <mongodb.persistence>` but it bears
111111 repeating.
112112
@@ -121,7 +121,7 @@ Consider the following class definition:
121121 private $id;
122122 private $name;
123123 private $createdAt;
124-
124+
125125 public function __construct($name)
126126 {
127127 $this->id = new MongoDB\BSON\ObjectId;
Original file line number Diff line number Diff line change @@ -103,4 +103,4 @@ See Also
103103- :ref:`Tailable Cursor Iteration <php-tailable-cursor>`
104104- :manual:`Change Streams </changeStreams>` documentation in the MongoDB manual
105105- :manual:`Change Events </reference/change-events/>` documentation in the
106- MongoDB manual
106+ MongoDB manual
Original file line number Diff line number Diff line change @@ -73,4 +73,4 @@ See Also
7373- :phpmethod:`MongoDB\\Database::watch()`
7474- :php:`Iterator::key() <iterator.key>`
7575- :ref:`Tailable Cursor Iteration <php-tailable-cursor>`
76- - :manual:`Change Streams </changeStreams>` documentation in the MongoDB manual
76+ - :manual:`Change Streams </changeStreams>` documentation in the MongoDB manual
You can’t perform that action at this time.
0 commit comments