Skip to content

Commit c609d2d

Browse files
committed
JM tech review 1
1 parent 46c4c18 commit c609d2d

7 files changed

+19
-16
lines changed

source/reference/class/MongoDBModelCollectionInfo.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ Definition
77

88
.. phpclass:: MongoDB\Model\CollectionInfo
99

10-
This class models information about a collection. Instances of this class are
11-
stored in an :php:`Iterator <manual/en/class.iterator.php>`
12-
returned by :phpmethod:`MongoDB\Database::listCollections()`.
10+
This class models information about a collection. Instances of this
11+
class are returned by traversing an :php:`Iterator
12+
<manual/en/class.iterator.php>`, which is returned by the
13+
:phpmethod:`MongoDB\Database::listCollections()` method.
1314

1415
.. versionchanged:: 1.4
1516

source/reference/class/MongoDBModelDatabaseInfo.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ Definition
77

88
.. phpclass:: MongoDB\Model\DatabaseInfo
99

10-
This class models information about a database. Instances of this class are
11-
stored in an :php:`Iterator <manual/en/class.iterator.php>`
12-
returned by :phpmethod:`MongoDB\Client::listDatabases()`.
10+
This class models information about a database. Instances of this
11+
class are returned by traversing an :php:`Iterator
12+
<manual/en/class.iterator.php>`, which is returned by the
13+
:phpmethod:`MongoDB\Client::listDatabases()` method.
1314

1415
.. versionchanged:: 1.4
1516

source/reference/class/MongoDBModelIndexInfo.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ Definition
77

88
.. phpclass:: MongoDB\Model\IndexInfo
99

10-
This class models information about an index. Instances of this class are
11-
stored in an :php:`Iterator <manual/en/class.iterator.php>`
12-
returned by :phpmethod:`MongoDB\Collection::listIndexes()`.
10+
This class models information about an index. Instances of this
11+
class are returned by traversing an :php:`Iterator
12+
<manual/en/class.iterator.php>`, which is returned by the
13+
:phpmethod:`MongoDB\Collection::listIndexes()` method.
1314

1415
This class implements PHP's :php:`ArrayAccess <arrayaccess>` interface. This
1516
provides a mechanism for accessing index fields for which there exists no

source/reference/method/MongoDBClient-listDatabases.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Return Values
7676
-------------
7777

7878
An :php:`Iterator <manual/en/class.iterator.php>`
79-
instance, which contains a :phpclass:`MongoDB\Model\DatabaseInfo` object
79+
instance, which provides a :phpclass:`MongoDB\Model\DatabaseInfo` object
8080
for each database on the server.
8181

8282
Errors/Exceptions

source/reference/method/MongoDBCollection-listIndexes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Return Values
5555
-------------
5656

5757
An :php:`Iterator <manual/en/class.iterator.php>`
58-
instance, which contains a :phpclass:`MongoDB\Model\IndexInfo` object
58+
instance, which provides a :phpclass:`MongoDB\Model\IndexInfo` object
5959
for each index for the collection.
6060

6161
Errors/Exceptions

source/reference/method/MongoDBDatabase-listCollections.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Return Values
7373
-------------
7474

7575
An :php:`Iterator <manual/en/class.iterator.php>`
76-
instance, which contains a :phpclass:`MongoDB\Model\CollectionInfo`
76+
instance, which provides a :phpclass:`MongoDB\Model\CollectionInfo`
7777
object for each collection in the database.
7878

7979
Example

source/whats-new.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ What's New in 2.0
5353
:ref:`Version 2.0 Breaking Changes <php-v2-breaking-changes>` section
5454
in the Upgrade Library Versions guide.
5555

56-
The {+library-short+} v2.0 release includes the following features,
57-
improvements, and fixes:
56+
The {+library-short+} v2.0 release includes the following API changes
57+
and removals:
5858

5959
- Removes deprecated fields in GridFS types.
6060

@@ -65,7 +65,7 @@ improvements, and fixes:
6565

6666
- The fields ``contentType`` and ``aliases`` are no longer stored in
6767
the ``files`` GridFS collection. If your application requires this
68-
information, you must store it in metadata. To learn mor about
68+
information, you must store it in metadata. To learn More about
6969
GridFS, see the :ref:`php-gridfs` guide.
7070

7171
- Removes the following deprecated options for find operations:
@@ -105,7 +105,7 @@ improvements, and fixes:
105105
The :phpmethod:`MongoDB\Client::listDatabases()`,
106106
:phpmethod:`MongoDB\Database::listCollections()`, and
107107
:phpmethod:`MongoDB\Collection::listIndexes()` methods return a
108-
general traversable ``Iterator`` instance that contains the corresponding
108+
general traversable ``Iterator`` instance that provides the corresponding
109109
results.
110110

111111
.. _php-lib-version-1.20:

0 commit comments

Comments
 (0)