Skip to content

Fixed documentation to point to the right BSON namespace for ObjectID #183

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions src/BulkWriteResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function getInsertedCount()
* The index of each ID in the map corresponds to the document's position in
* the bulk operation. If the document had an ID prior to insertion (i.e.
* the driver did not generate an ID), this will contain its "_id" field
* value. Any driver-generated ID will be an MongoDB\Driver\ObjectID
* value. Any driver-generated ID will be an MongoDB\BSON\ObjectID
* instance.
*
* @return mixed[]
Expand Down Expand Up @@ -142,7 +142,7 @@ public function getUpsertedCount()
* The index of each ID in the map corresponds to the document's position
* in bulk operation. If the document had an ID prior to upserting (i.e. the
* server did not need to generate an ID), this will contain its "_id". Any
* server-generated ID will be an MongoDB\Driver\ObjectID instance.
* server-generated ID will be an MongoDB\BSON\ObjectID instance.
*
* This method should only be called if the write was acknowledged.
*
Expand Down
2 changes: 1 addition & 1 deletion src/InsertManyResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function getInsertedCount()
* The index of each ID in the map corresponds to the document's position in
* the bulk operation. If the document had an ID prior to insertion (i.e.
* the driver did not generate an ID), this will contain its "_id" field
* value. Any driver-generated ID will be an MongoDB\Driver\ObjectID
* value. Any driver-generated ID will be an MongoDB\BSON\ObjectID
* instance.
*
* @return mixed[]
Expand Down
2 changes: 1 addition & 1 deletion src/InsertOneResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function getInsertedCount()
*
* If the document already an ID prior to insertion (i.e. the driver did not
* need to generate an ID), this will contain its "_id". Any
* driver-generated ID will be an MongoDB\Driver\ObjectID instance.
* driver-generated ID will be an MongoDB\BSON\ObjectID instance.
*
* @return mixed
*/
Expand Down