Skip to content

Commit

Permalink
fix jsdoc @returns
Browse files Browse the repository at this point in the history
  • Loading branch information
icebob committed Jul 17, 2017
1 parent beee9f4 commit 685b4c8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions databases/moleculer-db/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ module.exports = {
*
* @param {Context} ctx
* @param {any} origParams
* @returns
* @returns {Promise}
*/
sanitizeParams(ctx, params) {
let p = Object.assign({}, params);
Expand Down Expand Up @@ -296,7 +296,7 @@ module.exports = {
*
* @param {Context} ctx
* @param {Object} params
* @returns
* @returns {Promise}
*/
find(ctx, params) {
return this.adapter.find(params)
Expand All @@ -308,7 +308,7 @@ module.exports = {
*
* @param {Context} ctx
* @param {Object} params
* @returns
* @returns {Promise}
*/
count(ctx, params) {
// Remove pagination params
Expand All @@ -325,7 +325,7 @@ module.exports = {
*
* @param {Context} ctx
* @param {Object} params
* @returns
* @returns {Promise}
*/
create(ctx, params) {
return this.validateEntity(params.entity)
Expand All @@ -339,7 +339,7 @@ module.exports = {
*
* @param {Context} ctx
* @param {Object} params
* @returns
* @returns {Promise}
*/
createMany(ctx, params) {
return this.validateEntity(params.entities)
Expand All @@ -353,7 +353,7 @@ module.exports = {
*
* @param {Context} ctx
* @param {Object} params
* @returns
* @returns {Promise}
*/
getById(ctx, params) {
let origDoc;
Expand Down Expand Up @@ -681,7 +681,7 @@ module.exports = {
* Encode ID of entity
*
* @param {any} id
* @returns
* @returns {any}
*/
encodeID(id) {
return id;
Expand All @@ -691,7 +691,7 @@ module.exports = {
* Decode ID of entity
*
* @param {any} id
* @returns
* @returns {any}
*/
decodeID(id) {
return id;
Expand Down

0 comments on commit 685b4c8

Please sign in to comment.