Skip to content

Commit df76d4e

Browse files
committed
Update correct type return
1 parent 1d1c350 commit df76d4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Customer/view/frontend/web/js/section-config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ define(['underscore'], function (_) {
3232
/**
3333
* Returns a list of sections which should be invalidated for given URL.
3434
* @param {String} url - URL which was requested.
35-
* @return {Array} - List of sections to invalidate.
35+
* @return {Object} - List of sections to invalidate.
3636
*/
3737
getAffectedSections: function (url) {
3838
var route = canonize(url),
@@ -55,8 +55,8 @@ define(['underscore'], function (_) {
5555

5656
/**
5757
* Filters the list of given sections to the ones defined as client side.
58-
* @param {Array} allSections - List of sections to check.
59-
* @return {Array} - List of filtered sections.
58+
* @param {Object} allSections - List of sections to check.
59+
* @return {Object} - List of filtered sections.
6060
*/
6161
filterClientSideSections: function (allSections) {
6262
return _.difference(allSections, clientSideSections);

0 commit comments

Comments
 (0)