Skip to content

Commit 6b0f6ef

Browse files
ENGCOM-1946: Wishlist: Remove unnecessary parameter from invoking toHtml() method #16022
- Merge Pull Request #16022 from rogyar/magento2:2.3-remove-extra-param-tohtml - Merged commits: 1. 2e7c579 2. 7782bdc
2 parents 02aaccb + 7782bdc commit 6b0f6ef

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Wishlist/view/frontend/templates/item

1 file changed

+1
-1
lines changed

app/code/Magento/Wishlist/view/frontend/templates/item/list.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ $columns = $block->getColumns();
1919
<li data-row="product-item" class="product-item" id="item_<?= $block->escapeHtmlAttr($item->getId()) ?>">
2020
<div class="product-item-info" data-container="product-grid">
2121
<?php foreach ($columns as $column): ?>
22-
<?php $column->setItem($item); echo $column->toHtml($item);?>
22+
<?= $column->setItem($item)->toHtml();?>
2323
<?php endforeach; ?>
2424
</div>
2525
</li>

0 commit comments

Comments
 (0)