|
@@ -8,7 +8,7 @@ discard block |
|
|
block discarded – undo |
|
8
|
8
|
* an email on [email protected]. |
|
9
|
9
|
*/ |
|
10
|
10
|
|
|
11
|
|
-declare(strict_types=1); |
|
|
11
|
+declare(strict_types = 1); |
|
12
|
12
|
|
|
13
|
13
|
namespace BitBag\SyliusElasticsearchPlugin\PropertyBuilder; |
|
14
|
14
|
|
|
@@ -46,7 +46,7 @@ discard block |
|
|
block discarded – undo |
|
46
|
46
|
|
|
47
|
47
|
/** @var ProductVariantInterface $productVariant */ |
|
48
|
48
|
foreach ($product->getVariants() as $productVariant) { |
|
49
|
|
- foreach($productVariant->getChannelPricings() as $channelPricing) { |
|
|
49
|
+ foreach ($productVariant->getChannelPricings() as $channelPricing) { |
|
50
|
50
|
$propertyName = $this->priceProperty . '_' . strtolower($channelPricing->getChannelCode()); |
|
51
|
51
|
|
|
52
|
52
|
$document->set($propertyName, $channelPricing->getPrice()); |
Please login to merge, or discard this patch.