@@ -80,7 +80,7 @@ |
||
80 | 80 | */ |
81 | 81 | $lang = array_merge($lang, array( |
82 | 82 | 'PPDE_DONORS' => array( |
83 | - 1 => '%d donateur', // 1 |
|
83 | + 1 => '%d donateur', // 1 |
|
84 | 84 | 2 => '%d donateurs', // 2+ |
85 | 85 | ), |
86 | 86 | )); |
@@ -80,7 +80,7 @@ |
||
80 | 80 | */ |
81 | 81 | $lang = array_merge($lang, array( |
82 | 82 | 'PPDE_DONORS' => array( |
83 | - 1 => '%d donor', // 1 |
|
83 | + 1 => '%d donor', // 1 |
|
84 | 84 | 2 => '%d donors', // 2+ |
85 | 85 | ), |
86 | 86 | )); |
@@ -42,16 +42,16 @@ |
||
42 | 42 | * |
43 | 43 | */ |
44 | 44 | private static $paypal_vars_table = array( |
45 | - array('name' => 'confirmed', 'default' => false), // Used to check if the payment is confirmed |
|
46 | - array('name' => 'exchange_rate', 'default' => ''), // Exchange rate used if a currency conversion occurred |
|
47 | - array('name' => 'mc_currency', 'default' => ''), // Currency |
|
48 | - array('name' => 'mc_gross', 'default' => 0.00), // Amt received (before fees) |
|
49 | - array('name' => 'mc_fee', 'default' => 0.00), // Amt of fees |
|
50 | - array('name' => 'payment_status', 'default' => ''), // Payment status. e.g.: 'Completed' |
|
45 | + array('name' => 'confirmed', 'default' => false), // Used to check if the payment is confirmed |
|
46 | + array('name' => 'exchange_rate', 'default' => ''), // Exchange rate used if a currency conversion occurred |
|
47 | + array('name' => 'mc_currency', 'default' => ''), // Currency |
|
48 | + array('name' => 'mc_gross', 'default' => 0.00), // Amt received (before fees) |
|
49 | + array('name' => 'mc_fee', 'default' => 0.00), // Amt of fees |
|
50 | + array('name' => 'payment_status', 'default' => ''), // Payment status. e.g.: 'Completed' |
|
51 | 51 | array('name' => 'settle_amount', 'default' => 0.00), // Amt received after currency conversion (before fees) |
52 | 52 | array('name' => 'settle_currency', 'default' => ''), // Currency of 'settle_amount' |
53 | - array('name' => 'test_ipn', 'default' => false), // Used when transaction come from Sandbox platform |
|
54 | - array('name' => 'txn_type', 'default' => ''), // Transaction type - Should be: 'web_accept' |
|
53 | + array('name' => 'test_ipn', 'default' => false), // Used when transaction come from Sandbox platform |
|
54 | + array('name' => 'txn_type', 'default' => ''), // Transaction type - Should be: 'web_accept' |
|
55 | 55 | array( // Primary merchant e-mail address |
56 | 56 | 'name' => 'business', |
57 | 57 | 'default' => '', |
@@ -36,8 +36,7 @@ |
||
36 | 36 | manager $notification, |
37 | 37 | currency $ppde_actions_currency, |
38 | 38 | transactions $ppde_entity_transaction |
39 | - ) |
|
40 | - { |
|
39 | + ) { |
|
41 | 40 | $this->container = $container; |
42 | 41 | $this->notification = $notification; |
43 | 42 | $this->ppde_actions_currency = $ppde_actions_currency; |
@@ -52,8 +52,7 @@ |
||
52 | 52 | main_display_stats $ppde_controller_display_stats, |
53 | 53 | template $template, |
54 | 54 | $php_ext |
55 | - ) |
|
56 | - { |
|
55 | + ) { |
|
57 | 56 | $this->config = $config; |
58 | 57 | $this->controller_helper = $controller_helper; |
59 | 58 | $this->language = $language; |
@@ -51,8 +51,7 @@ |
||
51 | 51 | $lang_key_suffix = '', |
52 | 52 | $table_name = '', |
53 | 53 | $table_schema = array() |
54 | - ) |
|
55 | - { |
|
54 | + ) { |
|
56 | 55 | $this->db = $db; |
57 | 56 | $this->language = $language; |
58 | 57 | $this->user = $user; |
@@ -34,8 +34,7 @@ |
||
34 | 34 | ContainerInterface $container, |
35 | 35 | \phpbb\db\driver\driver_interface $db, |
36 | 36 | $ppde_currency_table |
37 | - ) |
|
38 | - { |
|
37 | + ) { |
|
39 | 38 | $this->cache = $cache; |
40 | 39 | $this->container = $container; |
41 | 40 | $this->db = $db; |
@@ -72,8 +72,7 @@ |
||
72 | 72 | extension_manager $ppde_ext_manager, |
73 | 73 | ipn_log $ppde_ipn_log, |
74 | 74 | request $request |
75 | - ) |
|
76 | - { |
|
75 | + ) { |
|
77 | 76 | $this->config = $config; |
78 | 77 | $this->language = $language; |
79 | 78 | $this->ppde_ext_manager = $ppde_ext_manager; |
@@ -67,8 +67,7 @@ |
||
67 | 67 | user $user, |
68 | 68 | $root_path, |
69 | 69 | $php_ext |
70 | - ) |
|
71 | - { |
|
70 | + ) { |
|
72 | 71 | $this->auth = $auth; |
73 | 72 | $this->config = $config; |
74 | 73 | $this->container = $container; |