Completed
Push — es6/issue-1475 ( 93c1ad )
by Ravinder
1139:39 queued 1133:44
created
includes/admin/class-give-settings.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 	 *
73 73
 	 * @param $url
74 74
 	 *
75
-	 * @return mixed
75
+	 * @return string
76 76
 	 */
77 77
 	public function give_update_cmb_meta_box_url( $url ) {
78 78
 		// Path to Give's CMB
@@ -1009,7 +1009,7 @@  discard block
 block discarded – undo
1009 1009
  * @since  1.0
1010 1010
  *
1011 1011
  * @param  array $field_arr
1012
- * @param  array $saved_value
1012
+ * @param  string|boolean $saved_value
1013 1013
  *
1014 1014
  * @return void
1015 1015
  */
@@ -1163,7 +1163,7 @@  discard block
 block discarded – undo
1163 1163
  * @params $string text
1164 1164
  * @params $filter array
1165 1165
  *
1166
- * @return text $string
1166
+ * @return string $string
1167 1167
  */
1168 1168
 function give_slug_to_title( $string, $filters = array() ) {
1169 1169
 
Please login to merge, or discard this patch.
includes/forms/functions.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
  *
156 156
  * Used to redirect a user back to the donation form if there are errors present.
157 157
  *
158
- * @param array|string $args
158
+ * @param string $args
159 159
  *
160 160
  * @access public
161 161
  * @since  1.0
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
  * @since  1.0
302 302
  * @since  1.8.16 Add security check
303 303
  *
304
- * @return bool
304
+ * @return false|null
305 305
  */
306 306
 function give_listen_for_failed_payments() {
307 307
 
@@ -753,7 +753,7 @@  discard block
 block discarded – undo
753 753
  *
754 754
  * @param int $form_id ID number of the form to retrieve the minimum price for
755 755
  *
756
- * @return mixed string|int Minimum price of the form
756
+ * @return string string|int Minimum price of the form
757 757
  */
758 758
 function give_get_form_minimum_price( $form_id = 0 ) {
759 759
 
@@ -774,7 +774,7 @@  discard block
 block discarded – undo
774 774
  *
775 775
  * @param int $form_id Donate Form ID
776 776
  *
777
- * @return bool|float
777
+ * @return string
778 778
  */
779 779
 function give_get_form_maximum_price( $form_id = 0 ) {
780 780
 
@@ -910,7 +910,7 @@  discard block
 block discarded – undo
910 910
 /**
911 911
  * Display/Return a formatted goal for a donation form
912 912
  *
913
- * @param int|Give_Donate_Form  $form       Form ID or Form Object.
913
+ * @param integer  $form       Form ID or Form Object.
914 914
  *
915 915
  * @since 2.1
916 916
  *
Please login to merge, or discard this patch.
includes/forms/template.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
  *
22 22
  * @since 1.0
23 23
  *
24
- * @return string Donation form.
24
+ * @return false|null Donation form.
25 25
  */
26 26
 function give_get_donation_form( $args = array() ) {
27 27
 
@@ -1456,7 +1456,7 @@  discard block
 block discarded – undo
1456 1456
  *
1457 1457
  * @param  int $form_id The form ID.
1458 1458
  *
1459
- * @return bool
1459
+ * @return false|null
1460 1460
  */
1461 1461
 function give_terms_agreement( $form_id ) {
1462 1462
 	$form_option = give_get_meta( $form_id, '_give_terms_option', true );
@@ -1650,7 +1650,7 @@  discard block
 block discarded – undo
1650 1650
  * @param  int   $form_id The form ID.
1651 1651
  * @param  array $args    An array of form arguments.
1652 1652
  *
1653
- * @return mixed
1653
+ * @return boolean
1654 1654
  */
1655 1655
 function give_show_goal_progress( $form_id, $args ) {
1656 1656
 
@@ -1677,7 +1677,7 @@  discard block
 block discarded – undo
1677 1677
  * @param  int $total      Total amount based on shortcode parameter.
1678 1678
  * @param  int $total_goal Total Goal amount passed by Admin.
1679 1679
  *
1680
- * @return mixed
1680
+ * @return boolean
1681 1681
  */
1682 1682
 function give_show_goal_totals_progress( $total, $total_goal ) {
1683 1683
 
@@ -1701,7 +1701,7 @@  discard block
 block discarded – undo
1701 1701
  *
1702 1702
  * @since  1.8
1703 1703
  *
1704
- * @param  $form_id
1704
+ * @param  integer $form_id
1705 1705
  * @param  $args
1706 1706
  *
1707 1707
  * @return mixed|string
@@ -1742,7 +1742,7 @@  discard block
 block discarded – undo
1742 1742
  * @param  int   $form_id The form ID.
1743 1743
  * @param  array $args    An array of form arguments.
1744 1744
  *
1745
- * @return void|bool
1745
+ * @return false|null
1746 1746
  */
1747 1747
 function give_form_content( $form_id, $args ) {
1748 1748
 
Please login to merge, or discard this patch.