From 2e7c5795a8f8274c0ca4611dd2aec4c266186d22 Mon Sep 17 00:00:00 2001 From: Yaroslav Rogoza Date: Mon, 11 Jun 2018 18:20:28 +0200 Subject: [PATCH 1/2] Remove unnecessary parameter from invoking toHtml() method --- .../Magento/Wishlist/view/frontend/templates/item/list.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Wishlist/view/frontend/templates/item/list.phtml b/app/code/Magento/Wishlist/view/frontend/templates/item/list.phtml index c2172afab94de..e98981cbd0c95 100644 --- a/app/code/Magento/Wishlist/view/frontend/templates/item/list.phtml +++ b/app/code/Magento/Wishlist/view/frontend/templates/item/list.phtml @@ -19,7 +19,7 @@ $columns = $block->getColumns();
  • - setItem($item); echo $column->toHtml($item);?> + setItem($item); echo $column->toHtml();?>
  • From 7782bdc818f17e9ab1d1f83df4a251c4b37a09b4 Mon Sep 17 00:00:00 2001 From: Vlad Veselov Date: Tue, 12 Jun 2018 10:27:12 +0300 Subject: [PATCH 2/2] Simplify echo statement --- .../Magento/Wishlist/view/frontend/templates/item/list.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Wishlist/view/frontend/templates/item/list.phtml b/app/code/Magento/Wishlist/view/frontend/templates/item/list.phtml index e98981cbd0c95..ef02768c46a83 100644 --- a/app/code/Magento/Wishlist/view/frontend/templates/item/list.phtml +++ b/app/code/Magento/Wishlist/view/frontend/templates/item/list.phtml @@ -19,7 +19,7 @@ $columns = $block->getColumns();
  • - setItem($item); echo $column->toHtml();?> + setItem($item)->toHtml();?>