@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | * @since 1.0 |
| 159 | 159 | * @access public |
| 160 | 160 | * |
| 161 | - * @param bool|string|int $_id_or_email |
|
| 161 | + * @param integer $_id_or_email |
|
| 162 | 162 | * |
| 163 | 163 | * @return bool|int |
| 164 | 164 | */ |
@@ -313,7 +313,7 @@ discard block |
||
| 313 | 313 | * @param int $user_id User ID. |
| 314 | 314 | * @param WP_User|bool $old_user_data User data. |
| 315 | 315 | * |
| 316 | - * @return bool |
|
| 316 | + * @return false|null |
|
| 317 | 317 | */ |
| 318 | 318 | public function update_donor_email_on_user_update( $user_id = 0, $old_user_data = false ) { |
| 319 | 319 | |
@@ -370,7 +370,7 @@ discard block |
||
| 370 | 370 | * @access public |
| 371 | 371 | * |
| 372 | 372 | * @param string $field ID or email. Default is 'id'. |
| 373 | - * @param mixed $value The Customer ID or email to search. Default is 0. |
|
| 373 | + * @param integer $value The Customer ID or email to search. Default is 0. |
|
| 374 | 374 | * |
| 375 | 375 | * @return mixed Upon success, an object of the donor. Upon failure, NULL |
| 376 | 376 | */ |
@@ -157,7 +157,7 @@ |
||
| 157 | 157 | * |
| 158 | 158 | * @access public |
| 159 | 159 | * @since 1.0 |
| 160 | - * @return mixed string If search is present, false otherwise |
|
| 160 | + * @return string|false string If search is present, false otherwise |
|
| 161 | 161 | */ |
| 162 | 162 | public function get_search() { |
| 163 | 163 | return ! empty( $_GET['s'] ) ? urldecode( trim( $_GET['s'] ) ) : false; |
@@ -452,7 +452,7 @@ discard block |
||
| 452 | 452 | |
| 453 | 453 | /** |
| 454 | 454 | * @param $option_value |
| 455 | - * @param $value |
|
| 455 | + * @param boolean $value |
|
| 456 | 456 | * |
| 457 | 457 | * @return string |
| 458 | 458 | */ |
@@ -529,7 +529,7 @@ discard block |
||
| 529 | 529 | * |
| 530 | 530 | * @since 1.8.14 |
| 531 | 531 | * |
| 532 | - * @param $file_id |
|
| 532 | + * @param integer $file_id |
|
| 533 | 533 | * |
| 534 | 534 | * @return bool|int |
| 535 | 535 | */ |
@@ -64,7 +64,7 @@ |
||
| 64 | 64 | * |
| 65 | 65 | * @param string $value |
| 66 | 66 | * |
| 67 | - * @return mixed |
|
| 67 | + * @return string |
|
| 68 | 68 | */ |
| 69 | 69 | function __give_validate_decimal_separator_setting_field( $value ) { |
| 70 | 70 | $thousand_separator = give_clean( $_POST['thousands_separator'] ); |
@@ -666,6 +666,7 @@ |
||
| 666 | 666 | * Check if Import donation is duplicate |
| 667 | 667 | * |
| 668 | 668 | * @since 1.8.13 |
| 669 | + * @param Give_Donate_Form $form |
|
| 669 | 670 | */ |
| 670 | 671 | function give_check_import_donation_duplicate( $payment_data, $data, $form, $donor_data ) { |
| 671 | 672 | $return = false; |
@@ -1157,7 +1157,7 @@ discard block |
||
| 1157 | 1157 | * |
| 1158 | 1158 | * @todo Remove this, when WordPress Core ticket is resolved (https://core.trac.wordpress.org/ticket/16828). |
| 1159 | 1159 | * |
| 1160 | - * @return bool |
|
| 1160 | + * @return false|null |
|
| 1161 | 1161 | */ |
| 1162 | 1162 | function give_donation_metabox_menu() { |
| 1163 | 1163 | |
@@ -1540,7 +1540,7 @@ discard block |
||
| 1540 | 1540 | * @param int $id |
| 1541 | 1541 | * @param string $meta_key |
| 1542 | 1542 | * @param mixed $meta_value |
| 1543 | - * @param mixed $prev_value |
|
| 1543 | + * @param string $prev_value |
|
| 1544 | 1544 | * |
| 1545 | 1545 | * @return mixed |
| 1546 | 1546 | */ |
@@ -1747,7 +1747,7 @@ discard block |
||
| 1747 | 1747 | * @since 1.8.13 |
| 1748 | 1748 | * |
| 1749 | 1749 | * @param array $list List of objects or arrays |
| 1750 | - * @param int|string $field Field from the object to place instead of the entire object |
|
| 1750 | + * @param string $field Field from the object to place instead of the entire object |
|
| 1751 | 1751 | * @param int|string $index_key Optional. Field from the object to use as keys for the new array. |
| 1752 | 1752 | * Default null. |
| 1753 | 1753 | * |