From 5c41e55e731da47586e689999bfabbf827158d25 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Thu, 2 Jun 2016 13:59:04 +0100 Subject: [PATCH] Fixed documentation to point to the right BSON namespace for ObjectID --- src/BulkWriteResult.php | 4 ++-- src/InsertManyResult.php | 2 +- src/InsertOneResult.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/BulkWriteResult.php b/src/BulkWriteResult.php index fde5bba58..a51149d2c 100644 --- a/src/BulkWriteResult.php +++ b/src/BulkWriteResult.php @@ -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[] @@ -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. * diff --git a/src/InsertManyResult.php b/src/InsertManyResult.php index 6e501d793..c74cfd85d 100644 --- a/src/InsertManyResult.php +++ b/src/InsertManyResult.php @@ -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[] diff --git a/src/InsertOneResult.php b/src/InsertOneResult.php index 8a74ae9c0..e3c8b72dd 100644 --- a/src/InsertOneResult.php +++ b/src/InsertOneResult.php @@ -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 */