@@ -565,7 +565,7 @@ discard block |
||
| 565 | 565 | * |
| 566 | 566 | * @since 1.0 |
| 567 | 567 | * |
| 568 | - * @return int $earnings Earnings |
|
| 568 | + * @return double $earnings Earnings |
|
| 569 | 569 | */ |
| 570 | 570 | function give_get_earnings_by_date( $day = null, $month_num, $year = null, $hour = null ) { |
| 571 | 571 | // This is getting deprecated soon. Use Give_Payment_Stats with the get_earnings() method instead. |
@@ -881,7 +881,7 @@ discard block |
||
| 881 | 881 | * |
| 882 | 882 | * @since 1.0 |
| 883 | 883 | * |
| 884 | - * @return int $form_id Form ID. |
|
| 884 | + * @return string $form_id Form ID. |
|
| 885 | 885 | */ |
| 886 | 886 | function give_get_payment_form_id( $payment_id ) { |
| 887 | 887 | $payment = new Give_Payment( $payment_id ); |
@@ -1729,7 +1729,7 @@ discard block |
||
| 1729 | 1729 | * |
| 1730 | 1730 | * Retrieves the form title and appends the level name if present. |
| 1731 | 1731 | * |
| 1732 | - * @param int|Give_Payment $donation Donation Data Object. |
|
| 1732 | + * @param Give_Payment $donation Donation Data Object. |
|
| 1733 | 1733 | * @param array $args a. only_level = If set to true will only return the level name if multi-level enabled. |
| 1734 | 1734 | * b. separator = The separator between the Form Title and the Donation Level. |
| 1735 | 1735 | * |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | * @access private |
| 23 | 23 | * @since 1.0 |
| 24 | 24 | * |
| 25 | - * @return mixed |
|
| 25 | + * @return false|null |
|
| 26 | 26 | */ |
| 27 | 27 | function give_process_donation_form() { |
| 28 | 28 | $is_ajax = isset( $_POST['give_ajax'] ); |