@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Diglabby\Doika\Services\PaymentGateways; |
4 | 4 |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Diglabby\Doika\Services\PaymentGateways; |
4 | 4 | |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | $appUrl .= (strpos($appUrl, '?') > 0) ? '&' : '?'; |
42 | 42 | $checkoutParams = [ |
43 | 43 | 'checkout' => [ |
44 | - 'test' => ! $this->apiContext->live, |
|
44 | + 'test' => !$this->apiContext->live, |
|
45 | 45 | 'transaction_type' => 'payment', |
46 | 46 | 'version' => self::API_VERSION, |
47 | 47 | 'attempts' => 3, |
@@ -12,7 +12,7 @@ |
||
12 | 12 | /** @inheritdoc */ |
13 | 13 | public function register(): void |
14 | 14 | { |
15 | - $this->app->singleton(BePaidApiContext::class, function () { |
|
15 | + $this->app->singleton(BePaidApiContext::class, function() { |
|
16 | 16 | |
17 | 17 | return new BePaidApiContext([ |
18 | 18 | 'marketId' => config('services.bepaid.marketId'), |
@@ -20,6 +20,6 @@ |
||
20 | 20 | ->where('vue_capture', '[\/\w\.-]*') |
21 | 21 | ->name('dashboard.home'); |
22 | 22 | |
23 | -Route::post('doika/webhooks/bepaid/donated/{campaignId}', function () { |
|
23 | +Route::post('doika/webhooks/bepaid/donated/{campaignId}', function() { |
|
24 | 24 | echo 'stub'; |
25 | 25 | })->name('webhooks.bepaid.donated'); |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Diglabby\Doika\Services\PaymentGateways; |
4 | 4 |