@@ -39,7 +39,7 @@ |
||
39 | 39 | public function consumeEvent(TransformEvent $event): void |
40 | 40 | { |
41 | 41 | $this->buildProperty($event, ProductInterface::class, |
42 | - function (ProductInterface $product, Document $document): void { |
|
42 | + function(ProductInterface $product, Document $document): void { |
|
43 | 43 | if (0 === $product->getVariants()->count()) { |
44 | 44 | return; |
45 | 45 | } |
@@ -89,6 +89,6 @@ |
||
89 | 89 | |
90 | 90 | private function convertFromString(string $price): int |
91 | 91 | { |
92 | - return (int) round( (float) $price * 100, 2); |
|
92 | + return (int) round((float) $price * 100, 2); |
|
93 | 93 | } |
94 | 94 | } |