Skip to content

Commit 71a2f36

Browse files
ENGCOM-1879: [Backport 2.1] Fixed return type hinting in DocBlocks for Wishlist module #15855
- Merge Pull Request #15855 from rogyar/magento2:2.1-return-types-wishlist - Merged commits: 1. e09462d
2 parents b1f7b25 + e09462d commit 71a2f36

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

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

2424
/**
25-
* @return string
25+
* @return array
2626
*/
2727
protected function getLinkParams()
2828
{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function isRssAllowed()
6969
}
7070

7171
/**
72-
* @return string
72+
* @return array
7373
*/
7474
protected function getLinkParams()
7575
{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ public function isAllowInCart()
500500
/**
501501
* Retrieve customer name
502502
*
503-
* @return string|void
503+
* @return string|null
504504
*/
505505
public function getCustomerName()
506506
{

0 commit comments

Comments
 (0)