@@ -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 |
@@ -84,7 +84,6 @@ discard block |
||
84 | 84 | * @since 1.1 |
85 | 85 | * |
86 | 86 | * @param array $item Contains all the data of the keys |
87 | - * @param string $column_name The name of the column |
|
88 | 87 | * |
89 | 88 | * @return string Column Name |
90 | 89 | */ |
@@ -99,7 +98,6 @@ discard block |
||
99 | 98 | * @since 1.1 |
100 | 99 | * |
101 | 100 | * @param array $item Contains all the data of the keys |
102 | - * @param string $column_name The name of the column |
|
103 | 101 | * |
104 | 102 | * @return string Column Name |
105 | 103 | */ |
@@ -114,7 +112,6 @@ discard block |
||
114 | 112 | * @since 1.1 |
115 | 113 | * |
116 | 114 | * @param array $item Contains all the data of the keys |
117 | - * @param string $column_name The name of the column |
|
118 | 115 | * |
119 | 116 | * @return string Column Name |
120 | 117 | */ |
@@ -127,7 +124,7 @@ discard block |
||
127 | 124 | * |
128 | 125 | * @access public |
129 | 126 | * @since 1.1 |
130 | - * @return void |
|
127 | + * @return string |
|
131 | 128 | */ |
132 | 129 | public function column_user( $item ) { |
133 | 130 |
@@ -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 |
@@ -530,7 +530,7 @@ discard block |
||
530 | 530 | * and redirect back to the donor interface for feedback |
531 | 531 | * |
532 | 532 | * @since 1.7 |
533 | - * @return void|bool |
|
533 | + * @return false|null |
|
534 | 534 | */ |
535 | 535 | function give_remove_donor_email() { |
536 | 536 | if ( empty( $_GET['id'] ) || ! is_numeric( $_GET['id'] ) ) { |
@@ -570,7 +570,7 @@ discard block |
||
570 | 570 | * and redirect back to the donor interface for feedback |
571 | 571 | * |
572 | 572 | * @since 1.7 |
573 | - * @return void|bool |
|
573 | + * @return false|null |
|
574 | 574 | */ |
575 | 575 | function give_set_donor_primary_email() { |
576 | 576 | if ( empty( $_GET['id'] ) || ! is_numeric( $_GET['id'] ) ) { |
@@ -63,7 +63,7 @@ |
||
63 | 63 | * @uses api_request() |
64 | 64 | * |
65 | 65 | * @param array $_transient_data Update array build by WordPress. |
66 | - * @return array Modified update array with custom plugin data. |
|
66 | + * @return stdClass Modified update array with custom plugin data. |
|
67 | 67 | */ |
68 | 68 | function check_update( $_transient_data ) { |
69 | 69 |
@@ -297,7 +297,7 @@ |
||
297 | 297 | * |
298 | 298 | * @param int $post_id Download (Post) ID |
299 | 299 | * |
300 | - * @return void |
|
300 | + * @return null|integer |
|
301 | 301 | */ |
302 | 302 | function give_price_save_quick_edit( $post_id ) { |
303 | 303 | if ( ! isset( $_POST['post_type'] ) || 'give_forms' !== $_POST['post_type'] ) { |
@@ -411,6 +411,7 @@ |
||
411 | 411 | * |
412 | 412 | * @since 1.6 |
413 | 413 | * |
414 | + * @param Give_Payment $payment |
|
414 | 415 | * @return mixed|void |
415 | 416 | */ |
416 | 417 | function get_row_actions( $payment ) { |
@@ -157,7 +157,7 @@ |
||
157 | 157 | * |
158 | 158 | * @access public |
159 | 159 | * @since 1.0 |
160 | - * @return mixed String if search is present, false otherwise |
|
160 | + * @return string|false String if search is present, false otherwise |
|
161 | 161 | */ |
162 | 162 | public function get_search() { |
163 | 163 | return ! empty( $_GET['s'] ) ? urldecode( trim( $_GET['s'] ) ) : false; |
@@ -157,7 +157,7 @@ |
||
157 | 157 | * |
158 | 158 | * @access public |
159 | 159 | * @since 1.0 |
160 | - * @return mixed string If search is present, false otherwise |
|
160 | + * @return string|false string If search is present, false otherwise |
|
161 | 161 | */ |
162 | 162 | public function get_search() { |
163 | 163 | return ! empty( $_GET['s'] ) ? urldecode( trim( $_GET['s'] ) ) : false; |