@@ -6,5 +6,5 @@ |
||
6 | 6 | $baseDir = dirname($vendorDir); |
7 | 7 | |
8 | 8 | return array( |
9 | - 'eb4ca143a560593927b6c460308f3a8f' => $baseDir . '/src/functions.php', |
|
9 | + 'eb4ca143a560593927b6c460308f3a8f' => $baseDir.'/src/functions.php', |
|
10 | 10 | ); |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | $issues = array(); |
6 | 6 | |
7 | 7 | if (!(PHP_VERSION_ID >= 70200)) { |
8 | - $issues[] = 'Your Composer dependencies require a PHP version ">= 7.2.0". You are running ' . PHP_VERSION . '.'; |
|
8 | + $issues[ ] = 'Your Composer dependencies require a PHP version ">= 7.2.0". You are running '.PHP_VERSION.'.'; |
|
9 | 9 | } |
10 | 10 | |
11 | 11 | if ($issues) { |
@@ -14,13 +14,13 @@ discard block |
||
14 | 14 | } |
15 | 15 | if (!ini_get('display_errors')) { |
16 | 16 | if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { |
17 | - fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL); |
|
17 | + fwrite(STDERR, 'Composer detected issues in your platform:'.PHP_EOL.PHP_EOL.implode(PHP_EOL, $issues).PHP_EOL.PHP_EOL); |
|
18 | 18 | } elseif (!headers_sent()) { |
19 | - echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL; |
|
19 | + echo 'Composer detected issues in your platform:'.PHP_EOL.PHP_EOL.str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)).PHP_EOL.PHP_EOL; |
|
20 | 20 | } |
21 | 21 | } |
22 | 22 | trigger_error( |
23 | - 'Composer detected issues in your platform: ' . implode(' ', $issues), |
|
23 | + 'Composer detected issues in your platform: '.implode(' ', $issues), |
|
24 | 24 | E_USER_ERROR |
25 | 25 | ); |
26 | 26 | } |
@@ -20,6 +20,6 @@ |
||
20 | 20 | ); |
21 | 21 | } |
22 | 22 | |
23 | -require_once __DIR__ . '/composer/autoload_real.php'; |
|
23 | +require_once __DIR__.'/composer/autoload_real.php'; |
|
24 | 24 | |
25 | 25 | return ComposerAutoloaderInit912ef365a6588e1102f28f1b2c039019::getLoader(); |
@@ -27,12 +27,12 @@ |
||
27 | 27 | public function __construct() |
28 | 28 | { |
29 | 29 | //Base URL for the API endpoints. This is basically the 'common' part of the API endpoints |
30 | - $this->mobile_payout_destination_url = config('chpter.mobile_payout_destination_url'); |
|
31 | - $this->bank_payout_destination_url = config('chpter.bank_payout_destination_url'); |
|
32 | - $this->mobile_payout_url = config('chpter.mobile_payout_url'); |
|
33 | - $this->bank_payout_url = config('chpter.bank_payout_url'); |
|
34 | - $this->token = config('chpter.chpter_token'); |
|
35 | - $this->domain =config('chpter.domain'); |
|
30 | + $this->mobile_payout_destination_url = config('chpter.mobile_payout_destination_url'); |
|
31 | + $this->bank_payout_destination_url = config('chpter.bank_payout_destination_url'); |
|
32 | + $this->mobile_payout_url = config('chpter.mobile_payout_url'); |
|
33 | + $this->bank_payout_url = config('chpter.bank_payout_url'); |
|
34 | + $this->token = config('chpter.chpter_token'); |
|
35 | + $this->domain =config('chpter.domain'); |
|
36 | 36 | } |
37 | 37 | |
38 | 38 | public static function createMobilePayoutDestination($type, $phone_number) |
@@ -32,12 +32,12 @@ discard block |
||
32 | 32 | $this->mobile_payout_url = config('chpter.mobile_payout_url'); |
33 | 33 | $this->bank_payout_url = config('chpter.bank_payout_url'); |
34 | 34 | $this->token = config('chpter.chpter_token'); |
35 | - $this->domain =config('chpter.domain'); |
|
35 | + $this->domain = config('chpter.domain'); |
|
36 | 36 | } |
37 | 37 | |
38 | 38 | public static function createMobilePayoutDestination($type, $phone_number) |
39 | 39 | { |
40 | - $client = new Client(); |
|
40 | + $client = new Client(); |
|
41 | 41 | |
42 | 42 | $requestBody = array( |
43 | 43 | "type"=> $type, |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | } |
61 | 61 | public static function createBankPayoutDestination($bank_name, $bank_account_name, $bank_account_number) |
62 | 62 | { |
63 | - $client = new Client(); |
|
63 | + $client = new Client(); |
|
64 | 64 | |
65 | 65 | $requestBody = array( |
66 | 66 | "bank_name"=> $bank_name, |