diff --git a/InventorySalesAdminUi/Ui/Component/Listing/Column/SalableQuantity.php b/InventorySalesAdminUi/Ui/Component/Listing/Column/SalableQuantity.php index bc604896b35f..d2ead12d881f 100644 --- a/InventorySalesAdminUi/Ui/Component/Listing/Column/SalableQuantity.php +++ b/InventorySalesAdminUi/Ui/Component/Listing/Column/SalableQuantity.php @@ -10,7 +10,6 @@ use Magento\Framework\View\Element\UiComponent\ContextInterface; use Magento\Framework\View\Element\UiComponentFactory; use Magento\InventorySalesAdminUi\Model\GetSalableQuantityDataBySku; -use Magento\InventoryCatalogApi\Model\IsSingleSourceModeInterface; use Magento\InventoryConfigurationApi\Model\IsSourceItemManagementAllowedForProductTypeInterface; use Magento\Ui\Component\Listing\Columns\Column; @@ -24,11 +23,6 @@ class SalableQuantity extends Column */ private $isSourceItemManagementAllowedForProductType; - /** - * @var IsSingleSourceModeInterface - */ - private $isSingleSourceMode; - /** * @var GetSalableQuantityDataBySku */ @@ -38,7 +32,6 @@ class SalableQuantity extends Column * @param ContextInterface $context * @param UiComponentFactory $uiComponentFactory * @param IsSourceItemManagementAllowedForProductTypeInterface $isSourceItemManagementAllowedForProductType - * @param IsSingleSourceModeInterface $isSingleSourceMode * @param GetSalableQuantityDataBySku $getSalableQuantityDataBySku * @param array $components * @param array $data @@ -47,14 +40,12 @@ public function __construct( ContextInterface $context, UiComponentFactory $uiComponentFactory, IsSourceItemManagementAllowedForProductTypeInterface $isSourceItemManagementAllowedForProductType, - IsSingleSourceModeInterface $isSingleSourceMode, GetSalableQuantityDataBySku $getSalableQuantityDataBySku, array $components = [], array $data = [] ) { parent::__construct($context, $uiComponentFactory, $components, $data); $this->isSourceItemManagementAllowedForProductType = $isSourceItemManagementAllowedForProductType; - $this->isSingleSourceMode = $isSingleSourceMode; $this->getSalableQuantityDataBySku = $getSalableQuantityDataBySku; }