Completed
Push — master ( 3f5189...11d34c )
by
unknown
32s queued 11s
created
src/Form/Type/ChoiceMapper/ProductAttributesMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
         $attributeValues = $this->productAttributeValueRepository->getUniqueAttributeValues($productAttribute);
62 62
 
63 63
         $choices = [];
64
-        array_walk($attributeValues, function (ProductAttributeValueInterface $productAttributeValue) use (&$choices): void {
64
+        array_walk($attributeValues, function(ProductAttributeValueInterface $productAttributeValue) use (&$choices): void {
65 65
             $product = $productAttributeValue->getProduct();
66 66
 
67 67
             if (!$product->isEnabled()) {
Please login to merge, or discard this patch.
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/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.
src/PropertyBuilder/ProductTaxonPositionPropertyBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     public function consumeEvent(TransformEvent $event): void
21 21
     {
22 22
         $this->buildProperty($event, ProductInterface::class,
23
-            function (ProductInterface $product, Document $document): void {
23
+            function(ProductInterface $product, Document $document): void {
24 24
                 foreach ($product->getProductTaxons() as $taxon) {
25 25
                     $document->set(
26 26
                         $this->taxonPositionNameResolver->resolvePropertyName($taxon->getTaxon()->getCode()),
Please login to merge, or discard this patch.