Skip to content

Commit aa8e5d5

Browse files
committed
Fix static tests
1 parent 0a2a61a commit aa8e5d5

File tree

4 files changed

+24
-16
lines changed

4 files changed

+24
-16
lines changed

app/code/Magento/PageCache/view/frontend/web/js/page-cache.js

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,17 @@ define([
5656
}
5757
}
5858

59-
// rewrite jQuery contents()
60-
contents = function (element) {
61-
return $.map(element, function (elem) {
59+
/**
60+
* Rewrite jQuery contents().
61+
*
62+
* @param {jQuery} elem
63+
*/
64+
contents = function (elem) {
65+
return $.map(elem, function (el) {
6266
try {
63-
return $.nodeName(elem, "iframe") ?
64-
elem.contentDocument || (elem.contentWindow ? elem.contentWindow.document : []) :
65-
$.merge([], elem.childNodes);
67+
return $.nodeName(el, "iframe") ?
68+
el.contentDocument || (el.contentWindow ? el.contentWindow.document : []) :
69+
$.merge([], el.childNodes);
6670
} catch (e) {
6771
consoleLogger.error(e);
6872
return [];

app/code/Magento/Sales/Block/Order/Items.php

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
*/
66

77
/**
8-
* Sales order view items block
9-
*
108
* @author Magento Core Team <core@magentocommerce.com>
119
*/
1210
namespace Magento\Sales\Block\Order;
1311

1412
/**
13+
* Sales order view items block.
14+
*
1515
* @api
1616
* @since 100.0.2
1717
*/
@@ -86,8 +86,9 @@ protected function _prepareLayout()
8686
}
8787

8888
/**
89-
* Determine if the pager should be displayed for order items list
90-
* To be called from templates(after _prepareLayout())
89+
* Determine if the pager should be displayed for order items list.
90+
*
91+
* To be called from templates(after _prepareLayout()).
9192
*
9293
* @return bool
9394
* @since 100.1.7
@@ -100,7 +101,8 @@ public function isPagerDisplayed()
100101

101102
/**
102103
* Get visible items for current page.
103-
* To be called from templates(after _prepareLayout())
104+
*
105+
* To be called from templates(after _prepareLayout()).
104106
*
105107
* @return \Magento\Framework\DataObject[]
106108
* @since 100.1.7
@@ -111,8 +113,9 @@ public function getItems()
111113
}
112114

113115
/**
114-
* Get pager HTML according to our requirements
115-
* To be called from templates(after _prepareLayout())
116+
* Get pager HTML according to our requirements.
117+
*
118+
* To be called from templates(after _prepareLayout()).
116119
*
117120
* @return string HTML output
118121
* @since 100.1.7

lib/internal/Magento/Framework/Locale/Config.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
*/
66
namespace Magento\Framework\Locale;
77

8+
/**
9+
* Allowed locale and currency configuration.
10+
*/
811
class Config implements \Magento\Framework\Locale\ConfigInterface
912
{
1013
/**

lib/internal/Magento/Framework/View/Layout/Generator/Block.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,7 @@ public function __construct(
103103
}
104104

105105
/**
106-
* {@inheritdoc}
107-
*
108-
* @return string
106+
* @inheritdoc
109107
*/
110108
public function getType()
111109
{

0 commit comments

Comments
 (0)