| @@ -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 | ); | 
| @@ -49,7 +49,7 @@ discard block | ||
| 49 | 49 |              ->add('box', SearchBoxType::class, ['label' => false]) | 
| 50 | 50 | ; | 
| 51 | 51 | |
| 52 | -        $formModifier = function (FormInterface $form, AdapterInterface $adapter) { | |
| 52 | +        $formModifier = function(FormInterface $form, AdapterInterface $adapter) { | |
| 53 | 53 |              if (!$adapter instanceof FantaPaginatorAdapter) { | 
| 54 | 54 | return; | 
| 55 | 55 | } | 
| @@ -61,7 +61,7 @@ discard block | ||
| 61 | 61 |              ->get('box') | 
| 62 | 62 | ->addEventListener( | 
| 63 | 63 | FormEvents::POST_SUBMIT, | 
| 64 | -                function (FormEvent $event) use ($formModifier) { | |
| 64 | +                function(FormEvent $event) use ($formModifier) { | |
| 65 | 65 | /** @var SearchBox $data */ | 
| 66 | 66 | $data = $event->getForm()->getData(); | 
| 67 | 67 | |