@@ -49,7 +49,7 @@ |
||
49 | 49 | * |
50 | 50 | * @since: 1.4 |
51 | 51 | * |
52 | - * @return bool |
|
52 | + * @return boolean|null |
|
53 | 53 | */ |
54 | 54 | function give_allow_sessions_for_sysinfo() { |
55 | 55 | if ( is_admin() && ( isset( $_GET['page'] ) && isset( $_GET['tab'] ) ) && ( $_GET['tab'] == 'system_info' && $_GET['page'] == 'give-settings' ) ) { |
@@ -50,7 +50,7 @@ |
||
50 | 50 | * @since 1.5 |
51 | 51 | * @global object $wpdb Used to query the database using the WordPress |
52 | 52 | * Database API |
53 | - * @return array $data The data for the CSV file |
|
53 | + * @return boolean $data The data for the CSV file |
|
54 | 54 | */ |
55 | 55 | public function get_data() { |
56 | 56 | global $give_logs, $wpdb; |
@@ -65,7 +65,7 @@ |
||
65 | 65 | * |
66 | 66 | * @since 1.0 |
67 | 67 | * @uses Give_Session::get() |
68 | - * @return mixed array if errors are present, false if none found |
|
68 | + * @return string array if errors are present, false if none found |
|
69 | 69 | */ |
70 | 70 | function give_get_errors() { |
71 | 71 | return Give()->session->get( 'give_errors' ); |
@@ -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 $old_user_data User data. |
315 | 315 | * |
316 | - * @return bool |
|
316 | + * @return false|null |
|
317 | 317 | */ |
318 | 318 | public function update_customer_email_on_user_update( $user_id = 0, $old_user_data ) { |
319 | 319 | |
@@ -362,7 +362,7 @@ discard block |
||
362 | 362 | * @access public |
363 | 363 | * |
364 | 364 | * @param string $field ID or email. Default is 'id'. |
365 | - * @param mixed $value The Customer ID or email to search. Default is 0. |
|
365 | + * @param integer $value The Customer ID or email to search. Default is 0. |
|
366 | 366 | * |
367 | 367 | * @return mixed Upon success, an object of the customer. Upon failure, NULL |
368 | 368 | */ |
@@ -337,7 +337,7 @@ |
||
337 | 337 | * |
338 | 338 | * @since 1.0 |
339 | 339 | * @uses Give()->session->get() |
340 | - * @return mixed array | false |
|
340 | + * @return string array | false |
|
341 | 341 | */ |
342 | 342 | function give_get_purchase_session() { |
343 | 343 | return Give()->session->get( 'give_purchase' ); |
@@ -85,7 +85,7 @@ |
||
85 | 85 | * |
86 | 86 | * @since 1.8 |
87 | 87 | * |
88 | - * @param $setting_tab |
|
88 | + * @param string $setting_tab |
|
89 | 89 | * |
90 | 90 | * @return string |
91 | 91 | */ |
@@ -1283,7 +1283,7 @@ |
||
1283 | 1283 | * |
1284 | 1284 | * @param $field |
1285 | 1285 | * |
1286 | - * @return string |
|
1286 | + * @return integer |
|
1287 | 1287 | */ |
1288 | 1288 | function _give_set_field_give_id_default_value( $field ) { |
1289 | 1289 | return 0; |
@@ -113,7 +113,7 @@ |
||
113 | 113 | /** |
114 | 114 | * Adds the "Donation Form" button above the TinyMCE Editor on add/edit screens. |
115 | 115 | * |
116 | - * @return string|bool |
|
116 | + * @return false|null |
|
117 | 117 | * |
118 | 118 | * @since 1.0 |
119 | 119 | */ |
@@ -464,7 +464,7 @@ |
||
464 | 464 | * |
465 | 465 | * @param WP_Post $payment |
466 | 466 | * |
467 | - * @return mixed |
|
467 | + * @return false|null |
|
468 | 468 | */ |
469 | 469 | function give_offline_payment_receipt_after( $payment ) { |
470 | 470 | // Get payment object. |