@@ -61,7 +61,7 @@ |
||
61 | 61 | $attributeValues = $this->productAttributeValueRepository->getUniqueAttributeValues($productAttribute); |
62 | 62 | |
63 | 63 | $choices = []; |
64 | - array_walk($attributeValues, function (ProductAttributeValueInterface $productAttributeValue) use (&$choices): void { |
|
64 | + array_walk($attributeValues, function(ProductAttributeValueInterface $productAttributeValue) use (&$choices): void { |
|
65 | 65 | $product = $productAttributeValue->getProduct(); |
66 | 66 | |
67 | 67 | if (!$product->isEnabled()) { |
@@ -20,7 +20,7 @@ |
||
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()), |