|
@@ -20,7 +20,7 @@ |
|
|
block discarded – undo |
|
20
|
20
|
public function consumeEvent(TransformEvent $event): void |
|
21
|
21
|
{ |
|
22
|
22
|
$this->buildProperty($event, ProductInterface::class, |
|
23
|
|
- function (ProductInterface $product, Document $document): void { |
|
|
23
|
+ function(ProductInterface $product, Document $document): void { |
|
24
|
24
|
foreach ($product->getTaxons() as $taxon) { |
|
25
|
25
|
$document->set( |
|
26
|
26
|
$this->taxonPositionNameResolver->resolvePropertyName($taxon->getCode()), |
Please login to merge, or discard this patch.