Completed
Push — master ( a51a2e...ff2d81 )
by G
03:53
created
src/Services/OrderDepositTaxesApplicator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
                     continue;
75 75
                 }
76 76
 
77
-                $this->addTaxAdjustment($unit, (int)$taxAmount, $taxRate->getLabel(), $taxRate->isIncludedInPrice());
77
+                $this->addTaxAdjustment($unit, (int) $taxAmount, $taxRate->getLabel(), $taxRate->isIncludedInPrice());
78 78
             }
79 79
         }
80 80
     }
Please login to merge, or discard this patch.
src/Form/Extension/ProductVariantTypeExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
           'label' => 'gweb_deposit.admin.product_variant.tax_category',
33 33
         ]);
34 34
 
35
-        $builder->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event): void {
35
+        $builder->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event): void {
36 36
             $productVariant = $event->getData();
37 37
 
38 38
             $event->getForm()->add(
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
             ChannelCollectionType::class,
41 41
             [
42 42
               'entry_type' => ChannelDepositType::class,
43
-              'entry_options' => function (ChannelInterface $channel) use ($productVariant) {
43
+              'entry_options' => function(ChannelInterface $channel) use ($productVariant) {
44 44
                   return [
45 45
                     'channel' => $channel,
46 46
                     'product_variant' => $productVariant,
Please login to merge, or discard this patch.
src/Form/ChannelDepositType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
           ]
38 38
         );
39 39
 
40
-        $builder->addEventListener(FormEvents::SUBMIT, function (FormEvent $event) use ($options): void {
40
+        $builder->addEventListener(FormEvents::SUBMIT, function(FormEvent $event) use ($options): void {
41 41
               /** @var ChannelDepositInterface $channelDeposit */
42 42
               $channelDeposit = $event->getData();
43 43
 
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
           ->setAllowedTypes('product_variant', ['null', ProductVariantInterface::class])
70 70
           ->setDefaults(
71 71
             [
72
-              'label' => function (Options $options): string {
72
+              'label' => function(Options $options): string {
73 73
                   return $options['channel']->getName();
74 74
               },
75 75
             ]
Please login to merge, or discard this patch.