Commit 8973ac27 authored by Jeremy Mikola's avatar Jeremy Mikola

Add missing semicolons

parent ace78f65
...@@ -68,7 +68,7 @@ special BSON type, the query criteria for selecting a restaurant must use the ...@@ -68,7 +68,7 @@ special BSON type, the query criteria for selecting a restaurant must use the
$restaurant = $database->restaurants->findOne([ $restaurant = $database->restaurants->findOne([
'_id' => new MongoDB\BSON\ObjectID('594d5ef280a846852a4b3f70'), '_id' => new MongoDB\BSON\ObjectID('594d5ef280a846852a4b3f70'),
]) ]);
Projecting Fields Projecting Fields
~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~
......
...@@ -113,7 +113,7 @@ The following operation replaces the document with ``restaurant_id`` of ...@@ -113,7 +113,7 @@ The following operation replaces the document with ``restaurant_id`` of
[ 'returnDocument' => MongoDB\Operation\FindOneAndReplace::RETURN_DOCUMENT_AFTER ] [ 'returnDocument' => MongoDB\Operation\FindOneAndReplace::RETURN_DOCUMENT_AFTER ]
); );
var_dump($replacedRestaurant) var_dump($replacedRestaurant);
The output would then resemble:: The output would then resemble::
......
...@@ -72,7 +72,7 @@ setting its building number to ``"761"``: ...@@ -72,7 +72,7 @@ setting its building number to ``"761"``:
] ]
); );
var_dump($updatedRestaurant) var_dump($updatedRestaurant);
The output would then resemble:: The output would then resemble::
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment