@@ -889,7 +889,7 @@ discard block |
||
| 889 | 889 | * @access public |
| 890 | 890 | * |
| 891 | 891 | * @param string $meta_key Metadata name. Default is empty. |
| 892 | - * @param mixed $meta_value Metadata value. |
|
| 892 | + * @param string $meta_value Metadata value. |
|
| 893 | 893 | * @param bool $unique Optional. Whether the same key should not be added. Default is false. |
| 894 | 894 | * |
| 895 | 895 | * @return bool False for failure. True for success. |
@@ -921,7 +921,7 @@ discard block |
||
| 921 | 921 | * @access public |
| 922 | 922 | * |
| 923 | 923 | * @param string $meta_key Metadata name. Default is empty. |
| 924 | - * @param mixed $meta_value Optional. Metadata value. Default is empty. |
|
| 924 | + * @param string $meta_value Optional. Metadata value. Default is empty. |
|
| 925 | 925 | * |
| 926 | 926 | * @return bool False for failure. True for success. |
| 927 | 927 | */ |
@@ -367,7 +367,7 @@ discard block |
||
| 367 | 367 | * |
| 368 | 368 | * @since 1.0 |
| 369 | 369 | * |
| 370 | - * @param int|bool $form_id Form ID (default: false). |
|
| 370 | + * @param boolean $form_id Form ID (default: false). |
|
| 371 | 371 | * @param int $payment_id Payment ID. |
| 372 | 372 | * |
| 373 | 373 | * @return void |
@@ -691,7 +691,7 @@ discard block |
||
| 691 | 691 | * @param int $year Year number. Default is null. |
| 692 | 692 | * @param int $hour Hour number. Default is null. |
| 693 | 693 | * |
| 694 | - * @return int $earnings Earnings |
|
| 694 | + * @return double $earnings Earnings |
|
| 695 | 695 | */ |
| 696 | 696 | function give_get_earnings_by_date( $day = null, $month_num, $year = null, $hour = null ) { |
| 697 | 697 | |
@@ -949,7 +949,7 @@ discard block |
||
| 949 | 949 | * @param string $meta_key The meta key to pull. |
| 950 | 950 | * @param bool $single Pull single meta entry or as an object. |
| 951 | 951 | * |
| 952 | - * @return mixed $meta Payment Meta. |
|
| 952 | + * @return string $meta Payment Meta. |
|
| 953 | 953 | */ |
| 954 | 954 | function give_get_payment_meta( $payment_id = 0, $meta_key = '_give_payment_meta', $single = true ) { |
| 955 | 955 | $payment = new Give_Payment( $payment_id ); |
@@ -997,7 +997,7 @@ discard block |
||
| 997 | 997 | * |
| 998 | 998 | * @param int $payment_id Payment ID. |
| 999 | 999 | * |
| 1000 | - * @return int $form_id Form ID. |
|
| 1000 | + * @return string $form_id Form ID. |
|
| 1001 | 1001 | */ |
| 1002 | 1002 | function give_get_payment_form_id( $payment_id ) { |
| 1003 | 1003 | $payment = new Give_Payment( $payment_id ); |