|
@@ -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
|
|
|
@@ -45,7 +45,7 @@ discard block |
|
|
block discarded – undo |
|
45
|
45
|
public function consumeEvent(TransformEvent $event): void |
|
46
|
46
|
{ |
|
47
|
47
|
$this->buildProperty($event, ProductInterface::class, |
|
48
|
|
- function (ProductInterface $product, Document $document): void { |
|
|
48
|
+ function(ProductInterface $product, Document $document): void { |
|
49
|
49
|
$taxons = $this->productTaxonsMapper->mapToUniqueCodes($product); |
|
50
|
50
|
|
|
51
|
51
|
$document->set($this->taxonsProperty, $taxons); |
Please login to merge, or discard this patch.