Skip to content

Commit 8973ac2

Browse files
committed
Add missing semicolons
1 parent ace78f6 commit 8973ac2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/reference/method/MongoDBCollection-findOne.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ special BSON type, the query criteria for selecting a restaurant must use the
6868

6969
$restaurant = $database->restaurants->findOne([
7070
'_id' => new MongoDB\BSON\ObjectID('594d5ef280a846852a4b3f70'),
71-
])
71+
]);
7272

7373
Projecting Fields
7474
~~~~~~~~~~~~~~~~~

docs/reference/method/MongoDBCollection-findOneAndReplace.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ The following operation replaces the document with ``restaurant_id`` of
113113
[ 'returnDocument' => MongoDB\Operation\FindOneAndReplace::RETURN_DOCUMENT_AFTER ]
114114
);
115115

116-
var_dump($replacedRestaurant)
116+
var_dump($replacedRestaurant);
117117

118118
The output would then resemble::
119119

docs/reference/method/MongoDBCollection-findOneAndUpdate.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ setting its building number to ``"761"``:
7272
]
7373
);
7474

75-
var_dump($updatedRestaurant)
75+
var_dump($updatedRestaurant);
7676

7777
The output would then resemble::
7878

0 commit comments

Comments
 (0)