File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
app/code/Magento/CatalogInventory/Model/ResourceModel/Stock Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 23
23
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
24
24
* @api
25
25
*
26
- * @deprecated 100.3.0 Replaced with Multi Source Inventory
26
+ * @deprecated 100.3.0
27
+ * @see Replaced with Multi Source Inventory
27
28
* @link https://developer.adobe.com/commerce/webapi/rest/inventory/index.html
28
29
* @link https://developer.adobe.com/commerce/webapi/rest/inventory/inventory-api-reference.html
29
30
* @since 100.0.2
@@ -35,6 +36,7 @@ class Status extends AbstractDb
35
36
*
36
37
* @var StoreManagerInterface
37
38
* @deprecated 100.1.0
39
+ * @see Not used anymore
38
40
*/
39
41
protected $ _storeManager ;
40
42
@@ -227,7 +229,7 @@ public function getProductCollection($lastEntityId = 0, $limit = 1000)
227
229
*/
228
230
public function addStockStatusToSelect (Select $ select , Website $ website )
229
231
{
230
- $ websiteId = $ this ->getWebsiteId ($ website -> getId () );
232
+ $ websiteId = $ this ->getWebsiteId ();
231
233
$ select ->joinLeft (
232
234
['stock_status ' => $ this ->getMainTable ()],
233
235
'e.entity_id = stock_status.product_id AND stock_status.website_id= ' . $ websiteId ,
You can’t perform that action at this time.
0 commit comments