Skip to content

Commit db628d9

Browse files
committed
Revise InsertManyResult::getInsertedIds() documentation
1 parent d340f1f commit db628d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/InsertManyResult.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ public function getInsertedCount()
4141
* Return a map of the inserted documents' IDs.
4242
*
4343
* The index of each ID in the map corresponds to the document's position
44-
* in bulk operation. If the document already an ID prior to insertion (i.e.
45-
* the driver did not need to generate an ID), this will contain its "_id".
44+
* in bulk operation. If the document had an ID prior to insertion (i.e. the
45+
* driver did not generate an ID), this will contain its "_id" field value.
4646
* Any driver-generated ID will be an MongoDB\Driver\ObjectID instance.
4747
*
4848
* @return mixed[]

0 commit comments

Comments
 (0)