From 179ede4914f357638160b0bfbbfcf25d824d2dbc Mon Sep 17 00:00:00 2001 From: KiwiCommerce <40483343+kiwi-commerce@users.noreply.github.com> Date: Mon, 2 Jul 2018 12:04:32 +0530 Subject: [PATCH] Fix error during compilation --- Ui/Component/Listing/Column/ItemColumn.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Ui/Component/Listing/Column/ItemColumn.php b/Ui/Component/Listing/Column/ItemColumn.php index 4219e4e..058e059 100644 --- a/Ui/Component/Listing/Column/ItemColumn.php +++ b/Ui/Component/Listing/Column/ItemColumn.php @@ -58,8 +58,8 @@ class ItemColumn extends Column /** * ItemColumn constructor. * @param \Magento\Framework\View\Element\UiComponent\ContextInterface $context + * @param \Magento\Framework\View\Element\Context $contexts * @param \Magento\Framework\View\Element\UiComponentFactory $uiComponentFactory - * @param \Magento\Framework\Escaper $escaper * @param \Magento\Backend\Model\UrlInterface $backendUrl * @param array $components * @param array $data @@ -68,12 +68,11 @@ public function __construct( \Magento\Framework\View\Element\UiComponent\ContextInterface $context, \Magento\Framework\View\Element\Context $contexts, \Magento\Framework\View\Element\UiComponentFactory $uiComponentFactory, - \Magento\Framework\Escaper $escaper, \Magento\Backend\Model\UrlInterface $backendUrl, array $components, array $data ) { - $this->escaper = $escaper; + $this->escaper = $contexts->getEscaper(); $this->backendUrl = $backendUrl; $this->filterManager = $contexts->getFilterManager(); parent::__construct($context, $uiComponentFactory, $components, $data);