diff --git a/modules/utils/createRouter.js b/modules/utils/createRouter.js index a574673e3b..923a195d25 100644 --- a/modules/utils/createRouter.js +++ b/modules/utils/createRouter.js @@ -252,8 +252,8 @@ function createRouter(options) { }, /** - * Performs a match of the given path against this router and returns an object with - * the { path, routes, params, query } that match. Returns null if no match can be made. + * Performs a match of the given pathname against this router and returns an object + * with the { routes, params } that match. Returns null if no match can be made. */ match: function (path) { return findMatch(Path.withoutQuery(path), routes, this.defaultRoute, this.notFoundRoute) || null;