Merge pull request #2155 from sghung/master

Fix inconsistencies in JSDoc
This commit is contained in:
Rand McKinney 2016-04-06 16:01:31 -07:00
commit 88d41f84fd
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ module.exports = function(registry) {
/** /**
* Create new instance of Model, and save to database. * Create new instance of Model, and save to database.
* *
* @param {Object}|[{Object}] data Optional data argument. Can be either a single model instance or an array of instances. * @param {Object|Object[]} [data] Optional data argument. Can be either a single model instance or an array of instances.
* *
* @callback {Function} callback Callback function called with `cb(err, obj)` signature. * @callback {Function} callback Callback function called with `cb(err, obj)` signature.
* @param {Error} err Error object; see [Error object](http://docs.strongloop.com/display/LB/Error+object). * @param {Error} err Error object; see [Error object](http://docs.strongloop.com/display/LB/Error+object).