| @@ -138,7 +138,7 @@ discard block | ||
| 138 | 138 | * | 
| 139 | 139 | * @param bool $enable | 
| 140 | 140 | * | 
| 141 | - * @return bool | |
| 141 | + * @return currency | |
| 142 | 142 | * @access public | 
| 143 | 143 | */ | 
| 144 | 144 | public function set_currency_enable($enable) | 
| @@ -165,7 +165,7 @@ discard block | ||
| 165 | 165 | * | 
| 166 | 166 | * @param bool $on_left | 
| 167 | 167 | * | 
| 168 | - * @return bool | |
| 168 | + * @return currency | |
| 169 | 169 | * @access public | 
| 170 | 170 | */ | 
| 171 | 171 | public function set_currency_position($on_left) | 
| @@ -110,7 +110,7 @@ discard block | ||
| 110 | 110 | * @license GNU General Public License, version 2 (GPL-2.0) | 
| 111 | 111 | * | 
| 112 | 112 | * @param string $step The step (enable, disable, purge) | 
| 113 | - * @param array $notification_types The notification type names | |
| 113 | + * @param string[] $notification_types The notification type names | |
| 114 | 114 | * | 
| 115 | 115 | * @return string Return notifications as temporary state | 
| 116 | 116 | * @access protected | 
| @@ -131,7 +131,7 @@ discard block | ||
| 131 | 131 | /** | 
| 132 | 132 | * Returns the list of notification types | 
| 133 | 133 | * | 
| 134 | - * @return array | |
| 134 | + * @return string[] | |
| 135 | 135 | * @access protected | 
| 136 | 136 | */ | 
| 137 | 137 | protected function notification_types() | 
| @@ -361,31 +361,31 @@ | ||
| 361 | 361 | private function transaction_vars_list() | 
| 362 | 362 |  	{ | 
| 363 | 363 | return array( | 
| 364 | - 'business' => '', // Primary merchant e-mail address | |
| 365 | - 'confirmed' => false, // used to check if the payment is confirmed | |
| 366 | - 'exchange_rate' => '', // Exchange rate used if a currency conversion occurred | |
| 364 | + 'business' => '', // Primary merchant e-mail address | |
| 365 | + 'confirmed' => false, // used to check if the payment is confirmed | |
| 366 | + 'exchange_rate' => '', // Exchange rate used if a currency conversion occurred | |
| 367 | 367 |  			'first_name'        => array('', true), // First name of sender | 
| 368 | 368 |  			'item_name'         => array('', true), // Equal to: $this->config['sitename'] | 
| 369 | - 'item_number' => '', // Equal to: 'uid_' . $this->user->data['user_id'] . '_' . time() | |
| 369 | + 'item_number' => '', // Equal to: 'uid_' . $this->user->data['user_id'] . '_' . time() | |
| 370 | 370 |  			'last_name'         => array('', true), // Last name of sender | 
| 371 | - 'mc_currency' => '', // Currency | |
| 372 | - 'mc_gross' => 0.00, // Amt received (before fees) | |
| 373 | - 'mc_fee' => 0.00, // Amt of fees | |
| 374 | - 'parent_txn_id' => '', // Transaction ID | |
| 375 | - 'payer_email' => '', // PayPal sender email address | |
| 376 | - 'payer_id' => '', // PayPal sender ID | |
| 377 | - 'payer_status' => 'unverified', // PayPal sender status (verified, unverified?) | |
| 378 | - 'payment_date' => '', // Payment Date/Time EX: '19:08:04 Oct 03, 2007 PDT' | |
| 379 | - 'payment_status' => '', // eg: 'Completed' | |
| 380 | - 'payment_type' => '', // Payment type | |
| 381 | - 'receiver_id' => '', // Secure Merchant Account ID | |
| 382 | - 'receiver_email' => '', // Merchant e-mail address | |
| 383 | - 'residence_country' => '', // Merchant country code | |
| 384 | - 'settle_amount' => 0.00, // Amt received after currency conversion (before fees) | |
| 385 | - 'settle_currency' => '', // Currency of 'settle_amount' | |
| 386 | - 'test_ipn' => false, // used when transaction come from Sandbox platform | |
| 387 | - 'txn_id' => '', // Transaction ID | |
| 388 | - 'txn_type' => '', // Transaction type - Should be: 'send_money' | |
| 371 | + 'mc_currency' => '', // Currency | |
| 372 | + 'mc_gross' => 0.00, // Amt received (before fees) | |
| 373 | + 'mc_fee' => 0.00, // Amt of fees | |
| 374 | + 'parent_txn_id' => '', // Transaction ID | |
| 375 | + 'payer_email' => '', // PayPal sender email address | |
| 376 | + 'payer_id' => '', // PayPal sender ID | |
| 377 | + 'payer_status' => 'unverified', // PayPal sender status (verified, unverified?) | |
| 378 | + 'payment_date' => '', // Payment Date/Time EX: '19:08:04 Oct 03, 2007 PDT' | |
| 379 | + 'payment_status' => '', // eg: 'Completed' | |
| 380 | + 'payment_type' => '', // Payment type | |
| 381 | + 'receiver_id' => '', // Secure Merchant Account ID | |
| 382 | + 'receiver_email' => '', // Merchant e-mail address | |
| 383 | + 'residence_country' => '', // Merchant country code | |
| 384 | + 'settle_amount' => 0.00, // Amt received after currency conversion (before fees) | |
| 385 | + 'settle_currency' => '', // Currency of 'settle_amount' | |
| 386 | + 'test_ipn' => false, // used when transaction come from Sandbox platform | |
| 387 | + 'txn_id' => '', // Transaction ID | |
| 388 | + 'txn_type' => '', // Transaction type - Should be: 'send_money' | |
| 389 | 389 | ); | 
| 390 | 390 | } | 
| 391 | 391 | |
| @@ -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 | )); |