@@ -28,7 +28,7 @@ |
||
28 | 28 | public function consumeEvent(PostTransformEvent $event): void |
29 | 29 | { |
30 | 30 | $this->buildProperty($event, ProductInterface::class, |
31 | - function (ProductInterface $product, Document $document): void { |
|
31 | + function(ProductInterface $product, Document $document): void { |
|
32 | 32 | /** @var ProductTranslationInterface $productTranslation */ |
33 | 33 | foreach ($product->getTranslations() as $productTranslation) { |
34 | 34 | $propertyName = $this->productNameNameResolver->resolvePropertyName($productTranslation->getLocale()); |
@@ -28,7 +28,7 @@ |
||
28 | 28 | public function consumeEvent(PostTransformEvent $event): void |
29 | 29 | { |
30 | 30 | $this->buildProperty($event, ProductInterface::class, |
31 | - function (ProductInterface $product, Document $document): void { |
|
31 | + function(ProductInterface $product, Document $document): void { |
|
32 | 32 | /** @var ProductTranslationInterface $productTranslation */ |
33 | 33 | foreach ($product->getTranslations() as $productTranslation) { |
34 | 34 | $propertyName = $this->productShortDescriptionNameResolver->resolvePropertyName( |