Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused class dependency #3327

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -24,11 +23,6 @@ class SalableQuantity extends Column
*/
private $isSourceItemManagementAllowedForProductType;

/**
* @var IsSingleSourceModeInterface
*/
private $isSingleSourceMode;

/**
* @var GetSalableQuantityDataBySku
*/
Expand All @@ -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
Expand All @@ -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;
}

Expand Down