File tree 1 file changed +2
-2
lines changed
dev/tests/integration/testsuite/Magento/Swatches/Controller/Adminhtml/Product 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -154,8 +154,8 @@ public function getLargeSwatchesAmountAttributeData() : array
154
154
$ maxInputVars = ini_get ('max_input_vars ' );
155
155
// Each option is at least 7 variables array for a visual swatch.
156
156
// Set options count to exceed max_input_vars by 20 options (140 variables).
157
- $ swatchVisualOptionsCount = floor ($ maxInputVars / 7 ) + 20 ;
158
- $ swatchTextOptionsCount = floor ($ maxInputVars / 4 ) + 80 ;
157
+ $ swatchVisualOptionsCount = ( int ) floor ($ maxInputVars / 7 ) + 20 ;
158
+ $ swatchTextOptionsCount = ( int ) floor ($ maxInputVars / 4 ) + 80 ;
159
159
return [
160
160
'visual swatches ' => $ this ->getSwatchVisualDataSet ($ swatchVisualOptionsCount ),
161
161
'text swatches ' => $ this ->getSwatchTextDataSet ($ swatchTextOptionsCount )
You can’t perform that action at this time.
0 commit comments