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..2a0b2427a5f2 100644 --- a/vendor/magento/module-catalog-inventory/Model/ResourceModel/Stock/Status.php +++ b/vendor/magento/module-catalog-inventory/Model/ResourceModel/Stock/Status.php @@ -23,9 +23,10 @@ * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @api * - * @deprecated 100.3.0 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 + * @deprecated 100.3.0 + * @see Replaced with Multi Source Inventory + * @link https://developer.adobe.com/commerce/webapi/rest/inventory/index.html + * @link https://developer.adobe.com/commerce/webapi/rest/inventory/inventory-api-reference.html * @since 100.0.2 */ class Status extends AbstractDb @@ -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, @@ -378,4 +380,4 @@ public function getProductStatus($productIds, $storeId = null) } return $statuses; } -} +} \ No newline at end of file