@@ -258,7 +258,7 @@ |
||
| 258 | 258 | * @access public |
| 259 | 259 | * @since 1.0 |
| 260 | 260 | * |
| 261 | - * @return mixed string If search is present, false otherwise. |
|
| 261 | + * @return string|false string If search is present, false otherwise. |
|
| 262 | 262 | */ |
| 263 | 263 | public function get_search() { |
| 264 | 264 | return ! empty( $_GET['s'] ) ? urldecode( trim( $_GET['s'] ) ) : false; |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | * |
| 22 | 22 | * @since 1.0 |
| 23 | 23 | * |
| 24 | - * @return array|bool $output Response messages |
|
| 24 | + * @return false|null $output Response messages |
|
| 25 | 25 | */ |
| 26 | 26 | function give_edit_donor( $args ) { |
| 27 | 27 | |
@@ -227,7 +227,7 @@ discard block |
||
| 227 | 227 | * |
| 228 | 228 | * @since 1.0 |
| 229 | 229 | * |
| 230 | - * @return int Whether it was a successful deletion. |
|
| 230 | + * @return false|null Whether it was a successful deletion. |
|
| 231 | 231 | */ |
| 232 | 232 | function give_donor_delete( $args ) { |
| 233 | 233 | |
@@ -521,7 +521,7 @@ discard block |
||
| 521 | 521 | * |
| 522 | 522 | * @since 1.7 |
| 523 | 523 | * |
| 524 | - * @return bool|null |
|
| 524 | + * @return false|null |
|
| 525 | 525 | */ |
| 526 | 526 | function give_remove_donor_email() { |
| 527 | 527 | if ( empty( $_GET['id'] ) || ! is_numeric( $_GET['id'] ) ) { |
@@ -565,7 +565,7 @@ discard block |
||
| 565 | 565 | * |
| 566 | 566 | * @since 1.7 |
| 567 | 567 | * |
| 568 | - * @return bool|null |
|
| 568 | + * @return false|null |
|
| 569 | 569 | */ |
| 570 | 570 | function give_set_donor_primary_email() { |
| 571 | 571 | if ( empty( $_GET['id'] ) || ! is_numeric( $_GET['id'] ) ) { |
@@ -705,7 +705,7 @@ discard block |
||
| 705 | 705 | * |
| 706 | 706 | * @since 1.0 |
| 707 | 707 | * |
| 708 | - * @return int $earnings Earnings |
|
| 708 | + * @return double $earnings Earnings |
|
| 709 | 709 | */ |
| 710 | 710 | function give_get_earnings_by_date( $day = null, $month_num, $year = null, $hour = null ) { |
| 711 | 711 | |
@@ -993,7 +993,7 @@ discard block |
||
| 993 | 993 | * |
| 994 | 994 | * @since 1.0 |
| 995 | 995 | * |
| 996 | - * @return array $user_info User Info Meta Values. |
|
| 996 | + * @return string $user_info User Info Meta Values. |
|
| 997 | 997 | */ |
| 998 | 998 | function give_get_payment_meta_user_info( $payment_id ) { |
| 999 | 999 | $payment = new Give_Payment( $payment_id ); |
@@ -1010,7 +1010,7 @@ discard block |
||
| 1010 | 1010 | * |
| 1011 | 1011 | * @since 1.0 |
| 1012 | 1012 | * |
| 1013 | - * @return int $form_id Form ID. |
|
| 1013 | + * @return string $form_id Form ID. |
|
| 1014 | 1014 | */ |
| 1015 | 1015 | function give_get_payment_form_id( $payment_id ) { |
| 1016 | 1016 | $payment = new Give_Payment( $payment_id ); |