@@ -283,7 +283,7 @@ |
||
| 283 | 283 | * @since 1.0 |
| 284 | 284 | * |
| 285 | 285 | * @param int|float|string $amount Formatted or sanitized price |
| 286 | - * @param int|bool $dp number of decimals |
|
| 286 | + * @param boolean $dp number of decimals |
|
| 287 | 287 | * @param bool $sanitize Whether or not sanitize number |
| 288 | 288 | * |
| 289 | 289 | * @return string $amount Newly formatted amount or Price Not Available |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | * |
| 156 | 156 | * Used to redirect a user back to the donation form if there are errors present. |
| 157 | 157 | * |
| 158 | - * @param array $args |
|
| 158 | + * @param string $args |
|
| 159 | 159 | * |
| 160 | 160 | * @access public |
| 161 | 161 | * @since 1.0 |
@@ -441,7 +441,7 @@ discard block |
||
| 441 | 441 | * |
| 442 | 442 | * @param int $form_id Give Form ID |
| 443 | 443 | * |
| 444 | - * @return int $earnings Earnings for a certain form |
|
| 444 | + * @return double $earnings Earnings for a certain form |
|
| 445 | 445 | */ |
| 446 | 446 | function give_get_form_earnings_stats( $form_id = 0 ) { |
| 447 | 447 | $give_form = new Give_Donate_Form( $form_id ); |
@@ -708,7 +708,7 @@ discard block |
||
| 708 | 708 | * |
| 709 | 709 | * @param int $form_id ID number of the form to retrieve the minimum price for |
| 710 | 710 | * |
| 711 | - * @return mixed string|int Minimum price of the form |
|
| 711 | + * @return string string|int Minimum price of the form |
|
| 712 | 712 | */ |
| 713 | 713 | function give_get_form_minimum_price( $form_id = 0 ) { |
| 714 | 714 | |