@@ -18,7 +18,7 @@ |
||
18 | 18 | { |
19 | 19 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
20 | 20 | |
21 | - $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
21 | + $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
22 | 22 | |
23 | 23 | $loader->load('services.yaml'); |
24 | 24 | } |
@@ -21,7 +21,7 @@ |
||
21 | 21 | 'payum.action.status' => new StatusAction(), |
22 | 22 | ]); |
23 | 23 | |
24 | - $config['payum.api'] = function (ArrayObject $config) { |
|
24 | + $config['payum.api'] = function(ArrayObject $config) { |
|
25 | 25 | return new MercadoPagoApi( |
26 | 26 | $config['access_token'], |
27 | 27 | $config['sandbox'] |
@@ -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) { |
|
34 | + ->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event) { |
|
35 | 35 | $data = $event->getData(); |
36 | 36 | |
37 | 37 | $data['payum.http_client'] = '@sylius.payum.http_client'; |