@@ -21,7 +21,7 @@ |
||
21 | 21 | 'payum.action.status' => new StatusAction(), |
22 | 22 | ]); |
23 | 23 | |
24 | - $config['payum.api'] = function (ArrayObject $config): MercadoPagoApi { |
|
24 | + $config['payum.api'] = function(ArrayObject $config): MercadoPagoApi { |
|
25 | 25 | return new MercadoPagoApi( |
26 | 26 | $config['access_token'], |
27 | 27 | $config['sandbox'] |
@@ -19,7 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | $this->processConfiguration($this->getConfiguration([], $container), $config); |
21 | 21 | |
22 | - $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
22 | + $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
23 | 23 | |
24 | 24 | $loader->load('services.yaml'); |
25 | 25 | } |
@@ -31,7 +31,7 @@ |
||
31 | 31 | ->add('sandbox', CheckboxType::class, [ |
32 | 32 | 'label' => 'odiseo_sylius_mercado_pago_plugin.form.gateway_configuration.mercado_pago.sandbox', |
33 | 33 | ]) |
34 | - ->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event): void { |
|
34 | + ->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event): void { |
|
35 | 35 | $data = $event->getData(); |
36 | 36 | |
37 | 37 | $data['payum.http_client'] = '@sylius.payum.http_client'; |