@@ -37,7 +37,7 @@ |
||
37 | 37 | * |
38 | 38 | * Display admin bar when active |
39 | 39 | * |
40 | - * @return bool |
|
40 | + * @return false|null |
|
41 | 41 | */ |
42 | 42 | public function give_admin_bar_menu() { |
43 | 43 | global $wp_admin_bar; |
@@ -81,7 +81,6 @@ discard block |
||
81 | 81 | * @since 1.1 |
82 | 82 | * |
83 | 83 | * @param array $item Contains all the data of the keys |
84 | - * @param string $column_name The name of the column |
|
85 | 84 | * |
86 | 85 | * @return string Column Name |
87 | 86 | */ |
@@ -96,7 +95,6 @@ discard block |
||
96 | 95 | * @since 1.1 |
97 | 96 | * |
98 | 97 | * @param array $item Contains all the data of the keys |
99 | - * @param string $column_name The name of the column |
|
100 | 98 | * |
101 | 99 | * @return string Column Name |
102 | 100 | */ |
@@ -111,7 +109,6 @@ discard block |
||
111 | 109 | * @since 1.1 |
112 | 110 | * |
113 | 111 | * @param array $item Contains all the data of the keys |
114 | - * @param string $column_name The name of the column |
|
115 | 112 | * |
116 | 113 | * @return string Column Name |
117 | 114 | */ |
@@ -124,7 +121,7 @@ discard block |
||
124 | 121 | * |
125 | 122 | * @access public |
126 | 123 | * @since 1.1 |
127 | - * @return void |
|
124 | + * @return string |
|
128 | 125 | */ |
129 | 126 | public function column_user( $item ) { |
130 | 127 |
@@ -67,7 +67,7 @@ |
||
67 | 67 | * @uses api_request() |
68 | 68 | * |
69 | 69 | * @param array $_transient_data Update array build by WordPress. |
70 | - * @return array Modified update array with custom plugin data. |
|
70 | + * @return stdClass Modified update array with custom plugin data. |
|
71 | 71 | */ |
72 | 72 | function check_update( $_transient_data ) { |
73 | 73 |
@@ -321,7 +321,7 @@ |
||
321 | 321 | * |
322 | 322 | * @param int $post_id Download (Post) ID |
323 | 323 | * |
324 | - * @return void |
|
324 | + * @return null|integer |
|
325 | 325 | */ |
326 | 326 | function give_price_save_quick_edit( $post_id ) { |
327 | 327 | if ( ! isset( $_POST['post_type'] ) || 'give_forms' !== $_POST['post_type'] ) { |
@@ -297,7 +297,6 @@ |
||
297 | 297 | * |
298 | 298 | * @since 1.0 |
299 | 299 | * |
300 | - * @param array $data Arguments passed |
|
301 | 300 | * |
302 | 301 | * @return void |
303 | 302 | */ |
@@ -279,7 +279,6 @@ |
||
279 | 279 | * @access public |
280 | 280 | * @since 1.0 |
281 | 281 | * |
282 | - * @param array $item Contains all the data of the discount code |
|
283 | 282 | * @param string $column_name The name of the column |
284 | 283 | * |
285 | 284 | * @return string Column Name |
@@ -80,7 +80,7 @@ |
||
80 | 80 | * |
81 | 81 | * @param $url |
82 | 82 | * |
83 | - * @return mixed |
|
83 | + * @return string |
|
84 | 84 | */ |
85 | 85 | public function give_update_cmb_meta_box_url( $url ) { |
86 | 86 | //Path to Give's CMB |
@@ -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; |
@@ -143,7 +143,7 @@ |
||
143 | 143 | * |
144 | 144 | * @access public |
145 | 145 | * @since 1.0 |
146 | - * @return mixed string If search is present, false otherwise |
|
146 | + * @return string|false string If search is present, false otherwise |
|
147 | 147 | */ |
148 | 148 | public function get_search() { |
149 | 149 | return ! empty( $_GET['s'] ) ? urldecode( trim( $_GET['s'] ) ) : false; |