@@ -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; |
@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | * |
| 224 | 224 | * @since 1.0 |
| 225 | 225 | * |
| 226 | - * @return int Whether it was a successful deletion. |
|
| 226 | + * @return false|null Whether it was a successful deletion. |
|
| 227 | 227 | */ |
| 228 | 228 | function give_donor_delete( $args ) { |
| 229 | 229 | |
@@ -517,7 +517,7 @@ discard block |
||
| 517 | 517 | * |
| 518 | 518 | * @since 1.7 |
| 519 | 519 | * |
| 520 | - * @return bool|null |
|
| 520 | + * @return false|null |
|
| 521 | 521 | */ |
| 522 | 522 | function give_remove_donor_email() { |
| 523 | 523 | if ( empty( $_GET['id'] ) || ! is_numeric( $_GET['id'] ) ) { |
@@ -561,7 +561,7 @@ discard block |
||
| 561 | 561 | * |
| 562 | 562 | * @since 1.7 |
| 563 | 563 | * |
| 564 | - * @return bool|null |
|
| 564 | + * @return false|null |
|
| 565 | 565 | */ |
| 566 | 566 | function give_set_donor_primary_email() { |
| 567 | 567 | if ( empty( $_GET['id'] ) || ! is_numeric( $_GET['id'] ) ) { |