From 10d1ce1593337ecc33d2cdd860f2cbccfadb7762 Mon Sep 17 00:00:00 2001 From: Vincent Jaubert Date: Sun, 30 Aug 2015 19:50:02 +0200 Subject: [PATCH] Put missing brackets around hexstring optional parameter name in Mongo JSDoc --- packages/mongo/collection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mongo/collection.js b/packages/mongo/collection.js index ef1e1689c5..4d3d98f2c0 100644 --- a/packages/mongo/collection.js +++ b/packages/mongo/collection.js @@ -673,7 +673,7 @@ Mongo.Collection.prototype.rawDatabase = function () { * @summary Create a Mongo-style `ObjectID`. If you don't specify a `hexString`, the `ObjectID` will generated randomly (not using MongoDB's ID construction rules). * @locus Anywhere * @class - * @param {String} hexString Optional. The 24-character hexadecimal contents of the ObjectID to create + * @param {String} [hexString] Optional. The 24-character hexadecimal contents of the ObjectID to create */ Mongo.ObjectID = MongoID.ObjectID;