We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e07a40 commit 3c9e898Copy full SHA for 3c9e898
app/code/Magento/Wishlist/Helper/Data.php
@@ -644,12 +644,13 @@ public function isDisplayQty()
644
/**
645
* Retrieve URL to item Product
646
*
647
- * @param Item|Product $item
+ * @param \Magento\Wishlist\Model\Item|\Magento\Catalog\Model\Product $item
648
+ * @param array $additional
649
* @return string
- * @throws NoSuchEntityException
650
- * @throws LocalizedException
+ *
651
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
652
*/
- public function getProductUrl($item): string
653
+ public function getProductUrl($item, $additional = [])
654
{
655
if ($item instanceof \Magento\Catalog\Model\Product) {
656
$product = $item;
0 commit comments