Skip to content

Commit 4ef704d

Browse files
authored
Update StockManagement.php
I have reverted return type of the `getResource()` to the wrong original value but static analyze error still exists. I wrote right value for return type of the method back because this analyze error is not related to my fixes.
1 parent 1c29384 commit 4ef704d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogInventory/Model/StockManagement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ protected function getProductType($productId)
180180
}
181181

182182
/**
183-
* @return Stock
183+
* @return ResourceStock
184184
*/
185185
protected function getResource()
186186
{

0 commit comments

Comments
 (0)