Skip to content

Commit e99d90a

Browse files
committed
Fix static tests.
1 parent c772d44 commit e99d90a

File tree

4 files changed

+16
-11
lines changed

4 files changed

+16
-11
lines changed

app/code/Magento/Wishlist/Block/Customer/Wishlist.php

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

77
/**
8-
* Wishlist block customer items
9-
*
108
* @author Magento Core Team <core@magentocommerce.com>
119
*/
1210
namespace Magento\Wishlist\Block\Customer;
1311

1412
/**
13+
* Wishlist block customer items.
14+
*
1515
* @api
1616
* @since 100.0.2
1717
*/
@@ -86,6 +86,7 @@ protected function _prepareCollection($collection)
8686
* Paginate Wishlist Product Items collection
8787
*
8888
* @return void
89+
* @SuppressWarnings(PHPMD.RequestAwareBlockMethod)
8990
*/
9091
private function paginateCollection()
9192
{
@@ -252,6 +253,7 @@ public function getAddToCartQty(\Magento\Wishlist\Model\Item $item)
252253

253254
/**
254255
* Get add all to cart params for POST request
256+
*
255257
* @return string
256258
*/
257259
public function getAddAllToCartParams()
@@ -263,7 +265,7 @@ public function getAddAllToCartParams()
263265
}
264266

265267
/**
266-
* @return string
268+
* @inheritdoc
267269
*/
268270
protected function _toHtml()
269271
{

app/code/Magento/Wishlist/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"magento/module-rss": "*",
1616
"magento/module-sales": "*",
1717
"magento/module-store": "*",
18+
"magento/module-theme": "*",
1819
"magento/module-ui": "*"
1920
},
2021
"suggest": {

app/design/frontend/Magento/blank/Magento_Wishlist/web/css/source/_module.less

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,19 @@
99

1010
& when (@media-common = true) {
1111
.toolbar {
12-
&.wishlist-toolbar{
12+
&.wishlist-toolbar {
1313
.limiter {
1414
float: right;
1515
}
1616
.main .pages {
1717
display: inline-block;
18-
z-index: 0;
1918
position: relative;
19+
z-index: 0;
2020
}
21-
.toolbar-amount, .limiter {
22-
z-index: 1;
21+
.toolbar-amount,
22+
.limiter {
2323
display: inline-block;
24+
z-index: 1;
2425
}
2526
}
2627
}

app/design/frontend/Magento/luma/Magento_Wishlist/web/css/source/_module.less

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,19 @@
99

1010
& when (@media-common = true) {
1111
.toolbar {
12-
&.wishlist-toolbar{
12+
&.wishlist-toolbar {
1313
.limiter {
1414
float: right;
1515
}
1616
.main .pages {
1717
display: inline-block;
18-
z-index: 0;
1918
position: relative;
19+
z-index: 0;
2020
}
21-
.toolbar-amount, .limiter {
22-
z-index: 1;
21+
.toolbar-amount,
22+
.limiter {
2323
display: inline-block;
24+
z-index: 1;
2425
}
2526
}
2627
}

0 commit comments

Comments
 (0)