File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Customer/view/frontend/web/js Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ define(['underscore'], function (_) {
32
32
/**
33
33
* Returns a list of sections which should be invalidated for given URL.
34
34
* @param {String } url - URL which was requested.
35
- * @return {Array } - List of sections to invalidate.
35
+ * @return {Object } - List of sections to invalidate.
36
36
*/
37
37
getAffectedSections : function ( url ) {
38
38
var route = canonize ( url ) ,
@@ -55,8 +55,8 @@ define(['underscore'], function (_) {
55
55
56
56
/**
57
57
* 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.
60
60
*/
61
61
filterClientSideSections : function ( allSections ) {
62
62
return _ . difference ( allSections , clientSideSections ) ;
You can’t perform that action at this time.
0 commit comments