@@ -8,7 +8,7 @@ discard block |
||
| 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 | |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | public function consumeEvent(TransformEvent $event): void |
| 38 | 38 | { |
| 39 | 39 | $this->buildProperty($event, ProductInterface::class, |
| 40 | - function (ProductInterface $product, Document $document): void { |
|
| 40 | + function(ProductInterface $product, Document $document): void { |
|
| 41 | 41 | $createdAt = (int) $product->getCreatedAt()->format('U'); |
| 42 | 42 | |
| 43 | 43 | $document->set($this->createdAtProperty, $createdAt); |
@@ -8,7 +8,7 @@ discard block |
||
| 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 | |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | public function consumeEvent(TransformEvent $event): void |
| 49 | 49 | { |
| 50 | 50 | $this->buildProperty($event, ProductInterface::class, |
| 51 | - function (ProductInterface $product, Document $document): void { |
|
| 51 | + function(ProductInterface $product, Document $document): void { |
|
| 52 | 52 | $this->resolveProductAttributes($product, $document); |
| 53 | 53 | }); |
| 54 | 54 | } |