Skip to content

Commit 8050d50

Browse files
dmannersgelanivishal
authored andcommitted
#4942: fix code styles in the app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle.php file
1 parent 53f5942 commit 8050d50

File tree

1 file changed

+1
-2
lines changed
  • app/code/Magento/Bundle/Block/Catalog/Product/View/Type

1 file changed

+1
-2
lines changed

app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,9 @@ public function getJsonConfig()
194194
}
195195
}
196196

197-
198197
$preConfiguredQtys = $preConfiguredValues->getData("bundle_option_qty/${optionId}") ?? [];
199198
$selections = $options[$optionId]['selections'];
200-
array_walk($selections, function(&$selection, $selectionId) use ($preConfiguredQtys) {
199+
array_walk($selections, function (&$selection, $selectionId) use ($preConfiguredQtys) {
201200
if (is_array($preConfiguredQtys) && isset($preConfiguredQtys[$selectionId])) {
202201
$selection['qty'] = $preConfiguredQtys[$selectionId];
203202
} else if ((int)$preConfiguredQtys > 0) {

0 commit comments

Comments
 (0)