lib/middleware-class-factories/collection.js
function (item, req, eachReq, res, next) {
          eachReq.item = item;
          eachReq[indexKey] = index;
          index++;
          next();
        }
function (item, req, eachReq, res, next) {
          eachReq.item = item;
          eachReq[indexKey] = index;
          index++;
          next();
        }
function ( item , req , eachReq , res , next ) { eachReq . item = item ; eachReq [ indexKey ] = index ; index ++ ; next ( ) ; }
self.collectionKey is correct here
self . collectionKey is correct here