@@ -37,8 +37,7 @@ |
||
37 | 37 | language $language, |
38 | 38 | currency $ppde_actions_currency, |
39 | 39 | template $template |
40 | - ) |
|
41 | - { |
|
40 | + ) { |
|
42 | 41 | $this->config = $config; |
43 | 42 | $this->language = $language; |
44 | 43 | $this->ppde_actions_currency = $ppde_actions_currency; |
@@ -64,8 +64,7 @@ |
||
64 | 64 | filesystem_interface $filesystem, |
65 | 65 | path_helper $path_helper, |
66 | 66 | main_controller $ppde_controller_main |
67 | - ) |
|
68 | - { |
|
67 | + ) { |
|
69 | 68 | $this->config = $config; |
70 | 69 | $this->filesystem = $filesystem; |
71 | 70 | $this->path_helper = $path_helper; |
@@ -63,8 +63,7 @@ |
||
63 | 63 | request $request, |
64 | 64 | template $template, |
65 | 65 | user $user |
66 | - ) |
|
67 | - { |
|
66 | + ) { |
|
68 | 67 | $this->config = $config; |
69 | 68 | $this->container = $container; |
70 | 69 | $this->language = $language; |
@@ -56,8 +56,7 @@ |
||
56 | 56 | request $request, |
57 | 57 | template $template, |
58 | 58 | user $user |
59 | - ) |
|
60 | - { |
|
59 | + ) { |
|
61 | 60 | $this->config = $config; |
62 | 61 | $this->language = $language; |
63 | 62 | $this->log = $log; |
@@ -84,8 +84,7 @@ |
||
84 | 84 | $adm_relative_path, |
85 | 85 | $phpbb_root_path, |
86 | 86 | $php_ext |
87 | - ) |
|
88 | - { |
|
87 | + ) { |
|
89 | 88 | $this->auth = $auth; |
90 | 89 | $this->config = $config; |
91 | 90 | $this->language = $language; |
@@ -56,8 +56,7 @@ |
||
56 | 56 | request $request, |
57 | 57 | template $template, |
58 | 58 | user $user |
59 | - ) |
|
60 | - { |
|
59 | + ) { |
|
61 | 60 | $this->config = $config; |
62 | 61 | $this->language = $language; |
63 | 62 | $this->log = $log; |
@@ -40,16 +40,16 @@ |
||
40 | 40 | * |
41 | 41 | */ |
42 | 42 | private static $paypal_vars_table = [ |
43 | - ['name' => 'confirmed', 'default' => false], // Used to check if the payment is confirmed |
|
44 | - ['name' => 'exchange_rate', 'default' => ''], // Exchange rate used if a currency conversion occurred |
|
45 | - ['name' => 'mc_currency', 'default' => ''], // Currency |
|
46 | - ['name' => 'mc_gross', 'default' => 0.00], // Amt received (before fees) |
|
47 | - ['name' => 'mc_fee', 'default' => 0.00], // Amt of fees |
|
48 | - ['name' => 'payment_status', 'default' => ''], // Payment status. e.g.: 'Completed' |
|
43 | + ['name' => 'confirmed', 'default' => false], // Used to check if the payment is confirmed |
|
44 | + ['name' => 'exchange_rate', 'default' => ''], // Exchange rate used if a currency conversion occurred |
|
45 | + ['name' => 'mc_currency', 'default' => ''], // Currency |
|
46 | + ['name' => 'mc_gross', 'default' => 0.00], // Amt received (before fees) |
|
47 | + ['name' => 'mc_fee', 'default' => 0.00], // Amt of fees |
|
48 | + ['name' => 'payment_status', 'default' => ''], // Payment status. e.g.: 'Completed' |
|
49 | 49 | ['name' => 'settle_amount', 'default' => 0.00], // Amt received after currency conversion (before fees) |
50 | 50 | ['name' => 'settle_currency', 'default' => ''], // Currency of 'settle_amount' |
51 | - ['name' => 'test_ipn', 'default' => false], // Used when transaction come from Sandbox platform |
|
52 | - ['name' => 'txn_type', 'default' => ''], // Transaction type - Should be: 'web_accept' |
|
51 | + ['name' => 'test_ipn', 'default' => false], // Used when transaction come from Sandbox platform |
|
52 | + ['name' => 'txn_type', 'default' => ''], // Transaction type - Should be: 'web_accept' |
|
53 | 53 | [// Primary merchant e-mail address |
54 | 54 | 'name' => 'business', |
55 | 55 | 'default' => '', |
@@ -29,8 +29,7 @@ |
||
29 | 29 | \phpbb\cache\driver\driver_interface $cache, |
30 | 30 | \phpbb\db\driver\driver_interface $db, |
31 | 31 | $ppde_currency_table |
32 | - ) |
|
33 | - { |
|
32 | + ) { |
|
34 | 33 | $this->cache = $cache; |
35 | 34 | $this->db = $db; |
36 | 35 | $this->ppde_currency_table = $ppde_currency_table; |
@@ -58,8 +58,7 @@ |
||
58 | 58 | language $language, |
59 | 59 | user $user, |
60 | 60 | $table_name |
61 | - ) |
|
62 | - { |
|
61 | + ) { |
|
63 | 62 | $this->config = $config; |
64 | 63 | $this->donation_pages_table = $table_name; |
65 | 64 | $this->user = $user; |