Passed
Push — master ( cc4e78...1262d4 )
by Damian
04:08
created
src/PropertyBuilder/ProductShortDescriptionBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
src/PropertyBuilder/ProductDescriptionBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
src/Facet/PriceFacet.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,12 +72,12 @@
 block discarded – undo
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
         );
Please login to merge, or discard this patch.
src/Form/Type/SearchType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.