File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -104,17 +104,17 @@ public function getDefaultConfigValue($field)
104
104
/**
105
105
* Returns min_sale_qty configuration for the ALL Customer Group
106
106
*
107
- * @return int
107
+ * @return float
108
108
*/
109
109
public function getDefaultMinSaleQty ()
110
110
{
111
111
$ default = $ this ->stockConfiguration ->getDefaultConfigValue ('min_sale_qty ' );
112
112
if (!is_numeric ($ default )) {
113
113
$ default = $ this ->serializer ->unserialize ($ default );
114
- $ default = isset ( $ default [GroupInterface::CUST_GROUP_ALL ]) ? $ default [GroupInterface:: CUST_GROUP_ALL ] : 1 ;
114
+ $ default = $ default [GroupInterface::CUST_GROUP_ALL ] ?? 1 ;
115
115
}
116
116
117
- return (int ) $ default ;
117
+ return (float ) $ default ;
118
118
}
119
119
120
120
/**
You can’t perform that action at this time.
0 commit comments