Commit 053fa97e authored by Jeremy Mikola's avatar Jeremy Mikola

UpdateResult::getUpsertedId() may return any value

parent a6b2d856
......@@ -2,7 +2,6 @@
namespace MongoDB;
use BSON\ObjectId;
use MongoDB\Driver\WriteResult;
/**
......@@ -67,7 +66,7 @@ class UpdateResult
*
* This value is undefined if an upsert did not take place.
*
* @return ObjectId|null
* @return mixed|null
*/
public function getUpsertedId()
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment