Skip to content

Commit 762886e

Browse files
author
Stanislav Idolov
authored
ENGCOM-1946: Wishlist: Remove unnecessary parameter from invoking toHtml() method #16022
2 parents 5c39bfa + 6b0f6ef commit 762886e

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)