File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed
app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Status Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -24,31 +24,43 @@ public function __construct($mapper = '')
2424 }
2525
2626 /**
27- * @inheritdoc
27+ * Filter by scope(s)
28+ *
29+ * @param int $scope
30+ * @return void
2831 */
2932 public function setScopeFilter ($ scope )
3033 {
3134 $ this ->data ['website_filter ' ] = [$ scope ];
3235 }
3336
3437 /**
35- * @inheritdoc
38+ * Add product(s) filter
39+ *
40+ * @param int $products
41+ * @return void
3642 */
3743 public function setProductsFilter ($ products )
3844 {
3945 $ this ->data ['products_filter ' ] = [$ products ];
4046 }
4147
4248 /**
43- * @inheritdoc
49+ * Add filter by quantity
50+ *
51+ * @param float $qty
52+ * @return void
4453 */
4554 public function setQtyFilter ($ qty )
4655 {
4756 $ this ->data ['qty_filter ' ] = [$ qty ];
4857 }
4958
5059 /**
51- * @inheritdoc
60+ * Add Criteria object
61+ *
62+ * @param \Magento\CatalogInventory\Api\StockStatusCriteriaInterface $criteria
63+ * @return void
5264 */
5365 public function addCriteria (StockStatusCriteriaInterface $ criteria )
5466 {
You can’t perform that action at this time.
0 commit comments