From 8bf7999c03f7a48aaed0bdf9b15ec658e736116d Mon Sep 17 00:00:00 2001 From: Yaroslav Rogoza Date: Tue, 5 Jun 2018 17:24:02 +0200 Subject: [PATCH] Fixed return type hinting in DocBlocks --- app/code/Magento/Wishlist/Block/Rss/EmailLink.php | 2 +- app/code/Magento/Wishlist/Block/Rss/Link.php | 2 +- app/code/Magento/Wishlist/Helper/Data.php | 2 +- .../Wishlist/Plugin/Ui/DataProvider/WishlistSettings.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/code/Magento/Wishlist/Block/Rss/EmailLink.php b/app/code/Magento/Wishlist/Block/Rss/EmailLink.php index 8a5db15dfb5db..4a5f116cd8293 100644 --- a/app/code/Magento/Wishlist/Block/Rss/EmailLink.php +++ b/app/code/Magento/Wishlist/Block/Rss/EmailLink.php @@ -24,7 +24,7 @@ class EmailLink extends Link protected $_template = 'rss/email.phtml'; /** - * @return string + * @return array */ protected function getLinkParams() { diff --git a/app/code/Magento/Wishlist/Block/Rss/Link.php b/app/code/Magento/Wishlist/Block/Rss/Link.php index de068d68c2207..3e716c863862b 100644 --- a/app/code/Magento/Wishlist/Block/Rss/Link.php +++ b/app/code/Magento/Wishlist/Block/Rss/Link.php @@ -72,7 +72,7 @@ public function isRssAllowed() } /** - * @return string + * @return array */ protected function getLinkParams() { diff --git a/app/code/Magento/Wishlist/Helper/Data.php b/app/code/Magento/Wishlist/Helper/Data.php index 6c34adffcd851..968a7f1db8c39 100644 --- a/app/code/Magento/Wishlist/Helper/Data.php +++ b/app/code/Magento/Wishlist/Helper/Data.php @@ -503,7 +503,7 @@ public function isAllowInCart() /** * Retrieve customer name * - * @return string|void + * @return string|null */ public function getCustomerName() { diff --git a/app/code/Magento/Wishlist/Plugin/Ui/DataProvider/WishlistSettings.php b/app/code/Magento/Wishlist/Plugin/Ui/DataProvider/WishlistSettings.php index 7f37486c7936c..df8bb3191bf9f 100644 --- a/app/code/Magento/Wishlist/Plugin/Ui/DataProvider/WishlistSettings.php +++ b/app/code/Magento/Wishlist/Plugin/Ui/DataProvider/WishlistSettings.php @@ -32,7 +32,7 @@ public function __construct(Data $helper) /** * Add tax data to result * - * @param \Magento\Checkout\CustomerData\Cart $subject + * @param \Magento\Catalog\Ui\DataProvider\Product\Listing\DataProvider $subject * @param array $result * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter)