Completed
Push — issues/1796 ( 52862a...3c30f3 )
by Ravinder
19:25
created
includes/payments/functions.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -674,7 +674,7 @@  discard block
 block discarded – undo
674 674
  * @param  int $year      Year number. Default is null.
675 675
  * @param  int $hour      Hour number. Default is null.
676 676
  *
677
- * @return int $earnings  Earnings
677
+ * @return double $earnings  Earnings
678 678
  */
679 679
 function give_get_earnings_by_date( $day = null, $month_num, $year = null, $hour = null ) {
680 680
 
@@ -932,7 +932,7 @@  discard block
 block discarded – undo
932 932
  * @param string $meta_key   The meta key to pull.
933 933
  * @param bool   $single     Pull single meta entry or as an object.
934 934
  *
935
- * @return mixed $meta Payment Meta.
935
+ * @return string $meta Payment Meta.
936 936
  */
937 937
 function give_get_payment_meta( $payment_id = 0, $meta_key = '_give_payment_meta', $single = true ) {
938 938
 	$payment = new Give_Payment( $payment_id );
@@ -980,7 +980,7 @@  discard block
 block discarded – undo
980 980
  *
981 981
  * @param int $payment_id Payment ID.
982 982
  *
983
- * @return int $form_id Form ID.
983
+ * @return string $form_id Form ID.
984 984
  */
985 985
 function give_get_payment_form_id( $payment_id ) {
986 986
 	$payment = new Give_Payment( $payment_id );
Please login to merge, or discard this patch.