@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -include __DIR__.'/config.php'; |
|
| 3 | +include __DIR__ . '/config.php'; |
|
| 4 | 4 | |
| 5 | 5 | // Grab the token, the storage, and the payment record from storage using the ID stored in the token. |
| 6 | 6 | /** @var \Payum\Core\Payum $payum */ |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -include __DIR__.'/config.php'; |
|
| 3 | +include __DIR__ . '/config.php'; |
|
| 4 | 4 | |
| 5 | 5 | // Grab the token, the storage, and the payment record from storage using the ID stored in the token. |
| 6 | 6 | /** @var \Payum\Core\Payum $payum */ |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -include __DIR__.'/config.php'; |
|
| 3 | +include __DIR__ . '/config.php'; |
|
| 4 | 4 | |
| 5 | 5 | // Grab the token, the storage, and the payment record from storage using the ID stored in the token. |
| 6 | 6 | /** @var \Payum\Core\Payum $payum */ |
@@ -101,7 +101,7 @@ |
||
| 101 | 101 | ]; |
| 102 | 102 | $config->defaults($config['payum.default_options']); |
| 103 | 103 | $config['payum.required_options'] = []; |
| 104 | - $config['payum.api'] = function (ArrayObject $config) { |
|
| 104 | + $config['payum.api'] = function(ArrayObject $config) { |
|
| 105 | 105 | $config->validateNotEmpty($config['payum.required_options']); |
| 106 | 106 | |
| 107 | 107 | return new Api($config['merchantId'], $config['token'], null, null, null, $config['sandbox']); |