From ec8389ba704c26e60cf4addeb79403ba3aac9a0b Mon Sep 17 00:00:00 2001 From: Yaroslav Rogoza Date: Mon, 11 Jun 2018 18:49:15 +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 eb3d9e58ecfc..a8306e141447 100644 --- a/app/code/Magento/Wishlist/view/frontend/templates/item/list.phtml +++ b/app/code/Magento/Wishlist/view/frontend/templates/item/list.phtml @@ -20,7 +20,7 @@ $columns = $block->getColumns(); escapeHtmlAttr($item->getId()) . '">' : '
  • ' ?>
    - setItem($item); echo $column->toHtml($item);?> + setItem($item); echo $column->toHtml();?>
    getItems())+1) ? '
  • ' : '' ?> From ade101dde8349c0312d64d5fdba5c70bfb8e237c Mon Sep 17 00:00:00 2001 From: Eugene Shakhsuvarov Date: Tue, 12 Jun 2018 11:48:49 +0300 Subject: [PATCH 2/2] Simplify echo statement According to @orlangur suggestion in magento/magento2#16022 --- .../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 a8306e141447..43b43df9b8f0 100644 --- a/app/code/Magento/Wishlist/view/frontend/templates/item/list.phtml +++ b/app/code/Magento/Wishlist/view/frontend/templates/item/list.phtml @@ -20,7 +20,7 @@ $columns = $block->getColumns(); escapeHtmlAttr($item->getId()) . '">' : '
  • ' ?>
    - setItem($item); echo $column->toHtml();?> + setItem($item)->toHtml() ?>
    getItems())+1) ? '
  • ' : '' ?>