@@ -45,7 +45,7 @@ |
||
| 45 | 45 | 'interval', |
| 46 | 46 | ]; |
| 47 | 47 | |
| 48 | - $config['payum.api'] = function (ArrayObject $config) { |
|
| 48 | + $config['payum.api'] = function(ArrayObject $config) { |
|
| 49 | 49 | $config->validateNotEmpty($config['payum.required_options']); |
| 50 | 50 | |
| 51 | 51 | /** @var MollieApiClient $mollieApiClient */ |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | ]), |
| 76 | 76 | ], |
| 77 | 77 | ]) |
| 78 | - ->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event) { |
|
| 78 | + ->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event) { |
|
| 79 | 79 | $data = $event->getData(); |
| 80 | 80 | |
| 81 | 81 | $data['payum.http_client'] = '@bitbag_sylius_mollie_plugin.mollie_api_client'; |
@@ -64,7 +64,7 @@ |
||
| 64 | 64 | ], |
| 65 | 65 | 'data' => $this->session->get('mollie_direct_debit_data')['iban'] ?? null, |
| 66 | 66 | ]) |
| 67 | - ->addEventListener(FormEvents::POST_SUBMIT, function (FormEvent $event) { |
|
| 67 | + ->addEventListener(FormEvents::POST_SUBMIT, function(FormEvent $event) { |
|
| 68 | 68 | $data = $event->getData(); |
| 69 | 69 | |
| 70 | 70 | $this->session->set('mollie_direct_debit_data', $data); |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | 'api_key', |
| 42 | 42 | ]; |
| 43 | 43 | |
| 44 | - $config['payum.api'] = function (ArrayObject $config) { |
|
| 44 | + $config['payum.api'] = function(ArrayObject $config) { |
|
| 45 | 45 | $config->validateNotEmpty($config['payum.required_options']); |
| 46 | 46 | |
| 47 | 47 | /** @var \Mollie_API_Client $mollieApiClient */ |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | ]), |
| 76 | 76 | ], |
| 77 | 77 | ]) |
| 78 | - ->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event) { |
|
| 78 | + ->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event) { |
|
| 79 | 79 | $data = $event->getData(); |
| 80 | 80 | |
| 81 | 81 | $data['payum.http_client'] = '@bitbag_sylius_mollie_plugin.mollie_api_client'; |