diff --git a/vendor/magento/module-catalog-inventory/Model/ResourceModel/Stock/Status.php b/vendor/magento/module-catalog-inventory/Model/ResourceModel/Stock/Status.php index adf62b75b2ad..a98b3daad4cc 100644 --- a/vendor/magento/module-catalog-inventory/Model/ResourceModel/Stock/Status.php +++ b/vendor/magento/module-catalog-inventory/Model/ResourceModel/Stock/Status.php @@ -23,7 +23,8 @@ * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @api * - * @deprecated 100.3.0 Replaced with Multi Source Inventory + * @deprecated 100.3.0 + * @see Replaced with Multi Source Inventory * @link https://devdocs.magento.com/guides/v2.4/inventory/index.html * @link https://devdocs.magento.com/guides/v2.4/inventory/inventory-api-reference.html * @since 100.0.2 @@ -35,6 +36,7 @@ class Status extends AbstractDb * * @var StoreManagerInterface * @deprecated 100.1.0 + * @see Not used anymore */ protected $_storeManager; @@ -227,7 +229,7 @@ public function getProductCollection($lastEntityId = 0, $limit = 1000) */ public function addStockStatusToSelect(Select $select, Website $website) { - $websiteId = $this->getWebsiteId($website->getId()); + $websiteId = $this->getWebsiteId(); $select->joinLeft( ['stock_status' => $this->getMainTable()], 'e.entity_id = stock_status.product_id AND stock_status.website_id=' . $websiteId,