Skip to content

Commit

Permalink
Fixed return type hinting in DocBlocks
Browse files Browse the repository at this point in the history
  • Loading branch information
rogyar committed Jun 5, 2018
1 parent 10f84fd commit 8bf7999
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/code/Magento/Wishlist/Block/Rss/EmailLink.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class EmailLink extends Link
protected $_template = 'rss/email.phtml';

/**
* @return string
* @return array
*/
protected function getLinkParams()
{
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Wishlist/Block/Rss/Link.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function isRssAllowed()
}

/**
* @return string
* @return array
*/
protected function getLinkParams()
{
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Wishlist/Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ public function isAllowInCart()
/**
* Retrieve customer name
*
* @return string|void
* @return string|null
*/
public function getCustomerName()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8bf7999

Please sign in to comment.