From dcb20c10de5105e1768df7d7c427768306267069 Mon Sep 17 00:00:00 2001 From: norareidy Date: Mon, 4 Mar 2024 12:08:45 -0500 Subject: [PATCH 1/3] DOCSP-36627: More backslash fixes --- docs/reference/method/MongoDBCollection-explain.txt | 2 +- docs/reference/method/MongoDBUpdateResult-getMatchedCount.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/method/MongoDBCollection-explain.txt b/docs/reference/method/MongoDBCollection-explain.txt index 4c6049449..592f717e0 100644 --- a/docs/reference/method/MongoDBCollection-explain.txt +++ b/docs/reference/method/MongoDBCollection-explain.txt @@ -29,7 +29,7 @@ Definition Parameters ---------- -``$explainable`` : :phpclass:`MongoDB\Operation\\Explainable` +``$explainable`` : :phpclass:`MongoDB\Operation\Explainable` The command to explain. ``$options`` : array diff --git a/docs/reference/method/MongoDBUpdateResult-getMatchedCount.txt b/docs/reference/method/MongoDBUpdateResult-getMatchedCount.txt index 077cddd89..f668fe12c 100644 --- a/docs/reference/method/MongoDBUpdateResult-getMatchedCount.txt +++ b/docs/reference/method/MongoDBUpdateResult-getMatchedCount.txt @@ -29,7 +29,7 @@ Definition (e.g. setting the value of a field to its current value), the matched count may be greater than the value returned by :phpmethod:`getModifiedCount() - `. + `. Return Values ------------- From 9a5deed1fb7b75d56ca74cd7bdc8bf2f166bb317 Mon Sep 17 00:00:00 2001 From: norareidy Date: Mon, 4 Mar 2024 12:14:19 -0500 Subject: [PATCH 2/3] add back double backslash --- docs/upgrade.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/upgrade.txt b/docs/upgrade.txt index c31c9d9d4..58d34eb18 100644 --- a/docs/upgrade.txt +++ b/docs/upgrade.txt @@ -31,7 +31,7 @@ Type Classes When upgrading from the legacy driver, type classes such as MongoId must be replaced with classes in the -`MongoDB\BSON namespace `_. The +`MongoDB\\BSON namespace `_. The new driver also introduces interfaces for its BSON types, which should be preferred if applications need to type hint against BSON values. From fb8cebd646922c7d3c72ccb69fd81832c142b2c8 Mon Sep 17 00:00:00 2001 From: norareidy Date: Mon, 4 Mar 2024 12:38:29 -0500 Subject: [PATCH 3/3] spacing fix --- docs/tutorial/tailable-cursor.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/tailable-cursor.txt b/docs/tutorial/tailable-cursor.txt index 6f2503214..6285676e9 100644 --- a/docs/tutorial/tailable-cursor.txt +++ b/docs/tutorial/tailable-cursor.txt @@ -99,7 +99,7 @@ preceding example to use the Iterator methods directly: throw an exception, since all results on the cursor have been exhausted. The purpose of this example is to demonstrate the functional equivalence between -``foreach`` and manual iteration with PHP's :php:`Iterator `API. +``foreach`` and manual iteration with PHP's :php:`Iterator ` API. For normal cursors, there is little reason to manually iterate results instead of a concise ``foreach`` loop.