@@ -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 | |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | * |
| 88 | 88 | * @param $url |
| 89 | 89 | * |
| 90 | - * @return mixed |
|
| 90 | + * @return string |
|
| 91 | 91 | */ |
| 92 | 92 | public function give_update_cmb_meta_box_url( $url ) {
|
| 93 | 93 | //Path to Give's CMB |
@@ -873,7 +873,7 @@ discard block |
||
| 873 | 873 | * @since 1.0 |
| 874 | 874 | * |
| 875 | 875 | * @param string $key The Key to update |
| 876 | - * @param string|bool|int $value The value to set the key to |
|
| 876 | + * @param integer $value The value to set the key to |
|
| 877 | 877 | * |
| 878 | 878 | * @return boolean True if updated, false if not. |
| 879 | 879 | */ |
@@ -976,7 +976,7 @@ discard block |
||
| 976 | 976 | * @since 1.3.5 |
| 977 | 977 | * |
| 978 | 978 | * @param $array |
| 979 | - * @param $position |int|string Expects an array key or 'id' of the settings field to appear after |
|
| 979 | + * @param string $position |int|string Expects an array key or 'id' of the settings field to appear after |
|
| 980 | 980 | * @param $insert |array a valid array of options to insert |
| 981 | 981 | * |
| 982 | 982 | * @return array |
@@ -587,7 +587,7 @@ |
||
| 587 | 587 | * selected date-range (if any) |
| 588 | 588 | * |
| 589 | 589 | * @since 1.0 |
| 590 | - * @return array |
|
| 590 | + * @return integer|null |
|
| 591 | 591 | */ |
| 592 | 592 | function give_get_report_dates() { |
| 593 | 593 | $dates = array(); |
@@ -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 $wpdb; |
@@ -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' ) ) { |
@@ -890,7 +890,7 @@ discard block |
||
| 890 | 890 | * @access public |
| 891 | 891 | * |
| 892 | 892 | * @param string $meta_key Metadata name. Default is empty. |
| 893 | - * @param mixed $meta_value Metadata value. |
|
| 893 | + * @param string $meta_value Metadata value. |
|
| 894 | 894 | * @param bool $unique Optional. Whether the same key should not be added. Default is false. |
| 895 | 895 | * |
| 896 | 896 | * @return bool False for failure. True for success. |
@@ -922,7 +922,7 @@ discard block |
||
| 922 | 922 | * @access public |
| 923 | 923 | * |
| 924 | 924 | * @param string $meta_key Metadata name. Default is empty. |
| 925 | - * @param mixed $meta_value Optional. Metadata value. Default is empty. |
|
| 925 | + * @param string $meta_value Optional. Metadata value. Default is empty. |
|
| 926 | 926 | * |
| 927 | 927 | * @return bool False for failure. True for success. |
| 928 | 928 | */ |