Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions source/reference/class/MongoDBModelCollectionInfo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ Definition

.. phpclass:: MongoDB\Model\CollectionInfo

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

.. versionchanged:: 1.4

Expand Down
7 changes: 4 additions & 3 deletions source/reference/class/MongoDBModelDatabaseInfo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ Definition

.. phpclass:: MongoDB\Model\DatabaseInfo

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

.. versionchanged:: 1.4

Expand Down
7 changes: 4 additions & 3 deletions source/reference/class/MongoDBModelIndexInfo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ Definition

.. phpclass:: MongoDB\Model\IndexInfo

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

This class implements PHP's :php:`ArrayAccess <arrayaccess>` interface. This
provides a mechanism for accessing index fields for which there exists no
Expand Down
2 changes: 1 addition & 1 deletion source/reference/method/MongoDBClient-listDatabases.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Return Values
-------------

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

Errors/Exceptions
Expand Down
2 changes: 1 addition & 1 deletion source/reference/method/MongoDBCollection-listIndexes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Return Values
-------------

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

Errors/Exceptions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Return Values
-------------

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

Example
Expand Down
8 changes: 4 additions & 4 deletions source/whats-new.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ What's New in 2.0
:ref:`Version 2.0 Breaking Changes <php-v2-breaking-changes>` section
in the Upgrade Library Versions guide.

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

- Removes deprecated fields in GridFS types.

Expand All @@ -65,7 +65,7 @@ improvements, and fixes:

- The fields ``contentType`` and ``aliases`` are no longer stored in
the ``files`` GridFS collection. If your application requires this
information, you must store it in metadata. To learn mor about
information, you must store it in metadata. To learn More about
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
information, you must store it in metadata. To learn More about
information, you must store it in metadata. To learn more about

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ack! ty

GridFS, see the :ref:`php-gridfs` guide.

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

.. _php-lib-version-1.20:
Expand Down
Loading