Skip to content

Commit a2fb71e

Browse files
author
Stanislav Idolov
authored
ENGCOM-1878: [Backport 2.2] Fixed return type hinting in DocBlocks for Wishlist module #15854
2 parents 7131513 + 19446be commit a2fb71e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

app/code/Magento/Wishlist/Block/Rss/EmailLink.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class EmailLink extends Link
2424
protected $_template = 'rss/email.phtml';
2525

2626
/**
27-
* @return string
27+
* @return array
2828
*/
2929
protected function getLinkParams()
3030
{

app/code/Magento/Wishlist/Block/Rss/Link.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function isRssAllowed()
7272
}
7373

7474
/**
75-
* @return string
75+
* @return array
7676
*/
7777
protected function getLinkParams()
7878
{

app/code/Magento/Wishlist/Helper/Data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ public function isAllowInCart()
503503
/**
504504
* Retrieve customer name
505505
*
506-
* @return string|void
506+
* @return string|null
507507
*/
508508
public function getCustomerName()
509509
{

app/code/Magento/Wishlist/Plugin/Ui/DataProvider/WishlistSettings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function __construct(Data $helper)
3232
/**
3333
* Add tax data to result
3434
*
35-
* @param \Magento\Checkout\CustomerData\Cart $subject
35+
* @param \Magento\Catalog\Ui\DataProvider\Product\Listing\DataProvider $subject
3636
* @param array $result
3737
* @return array
3838
* @SuppressWarnings(PHPMD.UnusedFormalParameter)

0 commit comments

Comments
 (0)