@@ -664,7 +664,7 @@ |
||
664 | 664 | * |
665 | 665 | * @param array $args Arguments to override defaults |
666 | 666 | * |
667 | - * @return array $dates |
|
667 | + * @return integer|null $dates |
|
668 | 668 | */ |
669 | 669 | public function get_dates( $args = array() ) { |
670 | 670 | $dates = array(); |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | * @param string $text Label for the search box |
82 | 82 | * @param string $input_id ID of the search box |
83 | 83 | * |
84 | - * @return false |
|
84 | + * @return false|null |
|
85 | 85 | */ |
86 | 86 | public function search_box( $text, $input_id ) { |
87 | 87 | return; |
@@ -253,7 +253,7 @@ discard block |
||
253 | 253 | * |
254 | 254 | * @access public |
255 | 255 | * @since 1.0 |
256 | - * @return mixed string If search is present, false otherwise |
|
256 | + * @return string|false string If search is present, false otherwise |
|
257 | 257 | */ |
258 | 258 | public function get_search() { |
259 | 259 | return ! empty( $_GET['s'] ) ? urldecode( trim( $_GET['s'] ) ) : false; |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | * @param $end_date string|bool The end date for which we'd like to filter our sale stats. If false, we'll use the default end date of `this_month` |
37 | 37 | * @param $status string|array The sale status(es) to count. Only valid when retrieving global stats |
38 | 38 | * |
39 | - * @return float|int Total amount of donations based on the passed arguments. |
|
39 | + * @return string Total amount of donations based on the passed arguments. |
|
40 | 40 | */ |
41 | 41 | public function get_sales( $form_id = 0, $start_date = false, $end_date = false, $status = 'publish' ) { |
42 | 42 | |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | * @param $end_date string|bool The end date for which we'd like to filter the donations stats. If false, method will use the default end date of `this_month`. |
100 | 100 | * @param $gateway_id string|bool The gateway to get earnings for such as 'paypal' or 'stripe'. |
101 | 101 | * |
102 | - * @return float|int Total amount of donations based on the passed arguments. |
|
102 | + * @return string Total amount of donations based on the passed arguments. |
|
103 | 103 | */ |
104 | 104 | public function get_earnings( $form_id = 0, $start_date = false, $end_date = false, $gateway_id = false ) { |
105 | 105 | |
@@ -219,7 +219,7 @@ discard block |
||
219 | 219 | * @param $end_date string|bool The end date for which we'd like to filter our sale stats. If false, we'll use the default end date of `this_month` |
220 | 220 | * @param $gateway_id string|bool The gateway to get earnings for such as 'paypal' or 'stripe' |
221 | 221 | * |
222 | - * @return float|int Total amount of donations based on the passed arguments. |
|
222 | + * @return string Total amount of donations based on the passed arguments. |
|
223 | 223 | */ |
224 | 224 | public function get_earnings_cache_key( $form_id = 0, $start_date = false, $end_date = false, $gateway_id = false ) { |
225 | 225 |
@@ -225,7 +225,7 @@ |
||
225 | 225 | * @param $field_args |
226 | 226 | * @param $field |
227 | 227 | * |
228 | - * @return bool |
|
228 | + * @return false|null |
|
229 | 229 | */ |
230 | 230 | function give_format_admin_multilevel_amount( $field_args, $field ) { |
231 | 231 |