@@ -25,7 +25,7 @@ |
||
25 | 25 | public function consumeEvent(TransformEvent $event): void |
26 | 26 | { |
27 | 27 | $this->buildProperty($event, ProductInterface::class, |
28 | - function (ProductInterface $product, Document $document): void { |
|
28 | + function(ProductInterface $product, Document $document): void { |
|
29 | 29 | /** @var ProductTranslationInterface $productTranslation */ |
30 | 30 | foreach ($product->getTranslations() as $productTranslation) { |
31 | 31 | $propertyName = $this->productShortDescriptionNameResolver->resolvePropertyName( |
@@ -25,7 +25,7 @@ |
||
25 | 25 | public function consumeEvent(TransformEvent $event): void |
26 | 26 | { |
27 | 27 | $this->buildProperty($event, ProductInterface::class, |
28 | - function (ProductInterface $product, Document $document): void { |
|
28 | + function(ProductInterface $product, Document $document): void { |
|
29 | 29 | /** @var ProductTranslationInterface $productTranslation */ |
30 | 30 | foreach ($product->getTranslations() as $productTranslation) { |
31 | 31 | $propertyName = $this->productDescriptionNameResolver->resolvePropertyName( |
@@ -72,12 +72,12 @@ |
||
72 | 72 | public function getBucketLabel(array $bucket): string |
73 | 73 | { |
74 | 74 | $from = $this->moneyFormatter->format( |
75 | - (int)$bucket['key'], |
|
75 | + (int) $bucket['key'], |
|
76 | 76 | $this->shopperContext->getCurrencyCode(), |
77 | 77 | $this->shopperContext->getLocaleCode() |
78 | 78 | ); |
79 | 79 | $to = $this->moneyFormatter->format( |
80 | - (int)($bucket['key'] + $this->interval), |
|
80 | + (int) ($bucket['key'] + $this->interval), |
|
81 | 81 | $this->shopperContext->getCurrencyCode(), |
82 | 82 | $this->shopperContext->getLocaleCode() |
83 | 83 | ); |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | ->setMethod('GET') |
51 | 51 | ; |
52 | 52 | |
53 | - $formModifier = function (FormInterface $form, AdapterInterface $adapter) { |
|
53 | + $formModifier = function(FormInterface $form, AdapterInterface $adapter) { |
|
54 | 54 | if (!$adapter instanceof FantaPaginatorAdapter) { |
55 | 55 | return; |
56 | 56 | } |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | ->get('box') |
63 | 63 | ->addEventListener( |
64 | 64 | FormEvents::POST_SUBMIT, |
65 | - function (FormEvent $event) use ($formModifier) { |
|
65 | + function(FormEvent $event) use ($formModifier) { |
|
66 | 66 | /** @var SearchBox $data */ |
67 | 67 | $data = $event->getForm()->getData(); |
68 | 68 |