@@ -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( |
@@ -13,7 +13,7 @@ |
||
13 | 13 | 'label' => 'Price', |
14 | 14 | 'options' => [ |
15 | 15 | 'field' => 'price_web_us', |
16 | - 'interval' => 10000*100, |
|
16 | + 'interval' => 10000 * 100, |
|
17 | 17 | 'min_doc_count' => 1 |
18 | 18 | ] |
19 | 19 | ], |
@@ -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 | ); |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | ->add('box', SearchBoxType::class, ['label' => false]) |
42 | 42 | ; |
43 | 43 | |
44 | - $formModifier = function (FormInterface $form, AdapterInterface $adapter) { |
|
44 | + $formModifier = function(FormInterface $form, AdapterInterface $adapter) { |
|
45 | 45 | if (!$adapter instanceof FantaPaginatorAdapter) { |
46 | 46 | return; |
47 | 47 | } |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | ->get('box') |
54 | 54 | ->addEventListener( |
55 | 55 | FormEvents::POST_SUBMIT, |
56 | - function (FormEvent $event) use ($formModifier) { |
|
56 | + function(FormEvent $event) use ($formModifier) { |
|
57 | 57 | /** @var Box $data */ |
58 | 58 | $data = $event->getForm()->getData(); |
59 | 59 |