Skip to content

Commit 4a10b56

Browse files
committed
fixed code indentation
1 parent 7023235 commit 4a10b56

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

app/code/Meta/Catalog/Model/Product/Feed/ProductRetriever/Configurable.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -124,15 +124,15 @@ public function retrieve($offset = 1, $limit = self::LIMIT): array
124124
$attributeLabel = $productAttribute->getSource()->getOptionText($attributeValue);
125125
$configurableSettings[$attributeCode] = $attributeLabel;
126126
}
127-
// Assign parent product name to all child products' name (used as variant name is Meta catalog)
128-
// https://developers.facebook.com/docs/commerce-platform/catalog/variants
129-
$childProduct->setName($product->getName());
130-
$childProduct->setConfigurableSettings($configurableSettings);
131-
$childProduct->setParentProductUrl($product->getProductUrl());
132-
if (!$childProduct->getDescription()) {
133-
$childProduct->setDescription($product->getDescription());
134-
}
135-
$simpleProducts[] = $childProduct;
127+
// Assign parent product name to all child products' name (used as variant name is Meta catalog)
128+
// https://developers.facebook.com/docs/commerce-platform/catalog/variants
129+
$childProduct->setName($product->getName());
130+
$childProduct->setConfigurableSettings($configurableSettings);
131+
$childProduct->setParentProductUrl($product->getProductUrl());
132+
if (!$childProduct->getDescription()) {
133+
$childProduct->setDescription($product->getDescription());
134+
}
135+
$simpleProducts[] = $childProduct;
136136
}
137137
}
138138
}

0 commit comments

Comments
 (0)