@@ -38,7 +38,7 @@ |
||
| 38 | 38 | * |
| 39 | 39 | * @param WP_Admin_Bar $wp_admin_bar WP_Admin_Bar instance, passed by reference. |
| 40 | 40 | * |
| 41 | - * @return bool |
|
| 41 | + * @return false|null |
|
| 42 | 42 | */ |
| 43 | 43 | public function give_admin_bar_menu( $wp_admin_bar ) { |
| 44 | 44 | |
@@ -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; |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | * @access public |
| 50 | 50 | * @since 1.5 |
| 51 | 51 | * |
| 52 | - * @return array $data The data for the CSV file |
|
| 52 | + * @return boolean $data The data for the CSV file |
|
| 53 | 53 | */ |
| 54 | 54 | public function get_data() { |
| 55 | 55 | |
@@ -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 | |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | * |
| 45 | 45 | * @since: 1.4 |
| 46 | 46 | * |
| 47 | - * @return bool |
|
| 47 | + * @return boolean|null |
|
| 48 | 48 | */ |
| 49 | 49 | function give_allow_sessions_for_sysinfo() { |
| 50 | 50 | if ( is_admin() && ( isset( $_GET['page'] ) && isset( $_GET['tab'] ) ) && ( $_GET['tab'] == 'system_info' && $_GET['page'] == 'give-settings' ) ) { |
@@ -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 | |
@@ -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 customer. Upon failure, NULL |
| 376 | 376 | */ |
@@ -463,7 +463,7 @@ |
||
| 463 | 463 | * @since 1.7 |
| 464 | 464 | * @access public |
| 465 | 465 | * |
| 466 | - * @return bool |
|
| 466 | + * @return false|null |
|
| 467 | 467 | */ |
| 468 | 468 | public function delete_cache() { |
| 469 | 469 | global $wpdb; |
@@ -530,7 +530,7 @@ |
||
| 530 | 530 | * |
| 531 | 531 | * @param int $payment_id |
| 532 | 532 | * |
| 533 | - * @return int payment_id |
|
| 533 | + * @return string payment_id |
|
| 534 | 534 | */ |
| 535 | 535 | function give_email_tag_payment_id( $payment_id ) { |
| 536 | 536 | $payment = new Give_Payment( $payment_id ); |
@@ -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' ); |