Skip to content

Commit

Permalink
Remove unnecessary parameter from invoking toHtml() method
Browse files Browse the repository at this point in the history
  • Loading branch information
rogyar committed Jun 11, 2018
1 parent 38d7977 commit ec8389b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $columns = $block->getColumns();
<?= /* @noEscape */ ($iterator++ == 1) ? '<li data-row="product-item" class="product-item" id="item_' . $block->escapeHtmlAttr($item->getId()) . '">' : '</li><li class="product-item" id="item_' . $block->escapeHtmlAttr($item->getId()) . '">' ?>
<div class="product-item-info" data-container="product-grid">
<?php foreach ($columns as $column): ?>
<?php $column->setItem($item); echo $column->toHtml($item);?>
<?php $column->setItem($item); echo $column->toHtml();?>
<?php endforeach; ?>
</div>
<?= ($iterator == count($block->getItems())+1) ? '</li>' : '' ?>
Expand Down

0 comments on commit ec8389b

Please sign in to comment.