Completed
Push — master ( 0af146...28843d )
by Ravinder
21:08
created
includes/admin/class-admin-settings.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -713,7 +713,7 @@
 block discarded – undo
713 713
 		 *
714 714
 		 * @param  array $value The form field value array
715 715
 		 *
716
-		 * @return array The description and tip as a 2 element array
716
+		 * @return string The description and tip as a 2 element array
717 717
 		 */
718 718
 		public static function get_field_description( $value ) {
719 719
 			$description = '';
Please login to merge, or discard this patch.
includes/admin/class-give-settings.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 	 *
76 76
 	 * @param $url
77 77
 	 *
78
-	 * @return mixed
78
+	 * @return string
79 79
 	 */
80 80
 	public function give_update_cmb_meta_box_url( $url ) {
81 81
 		//Path to Give's CMB
@@ -856,7 +856,7 @@  discard block
 block discarded – undo
856 856
  * @since 1.0
857 857
  *
858 858
  * @param string          $key   The Key to update
859
- * @param string|bool|int $value The value to set the key to
859
+ * @param integer $value The value to set the key to
860 860
  *
861 861
  * @return boolean True if updated, false if not.
862 862
  */
@@ -959,7 +959,7 @@  discard block
 block discarded – undo
959 959
  * @since      1.3.5
960 960
  *
961 961
  * @param $array
962
- * @param $position |int|string Expects an array key or 'id' of the settings field to appear after
962
+ * @param string $position |int|string Expects an array key or 'id' of the settings field to appear after
963 963
  * @param $insert   |array a valid array of options to insert
964 964
  *
965 965
  * @return array
@@ -997,7 +997,7 @@  discard block
 block discarded – undo
997 997
  *
998 998
  * @since 1.0
999 999
  * @param array $field_arr
1000
- * @param array $saved_values
1000
+ * @param string|boolean $saved_values
1001 1001
  * @return void
1002 1002
  */
1003 1003
 function give_enabled_gateways_callback( $field_arr, $saved_values = array() ) {
@@ -1030,7 +1030,7 @@  discard block
 block discarded – undo
1030 1030
  *
1031 1031
  * @since  1.0
1032 1032
  * @param  array $field_arr
1033
- * @param  array $saved_value
1033
+ * @param  string|boolean $saved_value
1034 1034
  * @return void
1035 1035
  */
1036 1036
 function give_default_gateway_callback( $field_arr, $saved_value ) {
Please login to merge, or discard this patch.
includes/admin/give-metabox-functions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1283,7 +1283,7 @@
 block discarded – undo
1283 1283
  *
1284 1284
  * @param $field
1285 1285
  *
1286
- * @return string
1286
+ * @return integer
1287 1287
  */
1288 1288
 function _give_set_field_give_id_default_value( $field ) {
1289 1289
 	return 0;
Please login to merge, or discard this patch.
includes/admin/settings/class-settings-cmb2-backward-compatibility.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
 		 *
86 86
 		 * @since  1.8
87 87
 		 *
88
-		 * @param  $setting_tab
88
+		 * @param  string $setting_tab
89 89
 		 *
90 90
 		 * @return string
91 91
 		 */
Please login to merge, or discard this patch.
includes/admin/shortcodes/class-shortcode-button.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
 	/**
114 114
 	 * Adds the "Donation Form" button above the TinyMCE Editor on add/edit screens.
115 115
 	 *
116
-	 * @return string|bool
116
+	 * @return false|null
117 117
 	 *
118 118
 	 * @since 1.0
119 119
 	 */
Please login to merge, or discard this patch.
includes/forms/template.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
  *
22 22
  * @param  array $args An array of form arguments.
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
 
@@ -1466,7 +1466,7 @@  discard block
 block discarded – undo
1466 1466
  *
1467 1467
  * @param  int $form_id The form ID.
1468 1468
  *
1469
- * @return bool
1469
+ * @return false|null
1470 1470
  */
1471 1471
 function give_terms_agreement( $form_id ) {
1472 1472
 	$form_option = get_post_meta( $form_id, '_give_terms_option', true );
@@ -1675,7 +1675,7 @@  discard block
 block discarded – undo
1675 1675
  * @param  int   $form_id The form ID.
1676 1676
  * @param  array $args    An array of form arguments.
1677 1677
  *
1678
- * @return mixed
1678
+ * @return boolean
1679 1679
  */
1680 1680
 function give_show_goal_progress( $form_id, $args ) {
1681 1681
 
@@ -1694,7 +1694,7 @@  discard block
 block discarded – undo
1694 1694
  * Get form content position.
1695 1695
  *
1696 1696
  * @since  1.8
1697
- * @param  $form_id
1697
+ * @param  integer $form_id
1698 1698
  * @param  $args
1699 1699
  * @return mixed|string
1700 1700
  */
@@ -1729,7 +1729,7 @@  discard block
 block discarded – undo
1729 1729
  * @param  int   $form_id The form ID.
1730 1730
  * @param  array $args    An array of form arguments.
1731 1731
  *
1732
- * @return void|bool
1732
+ * @return false|null
1733 1733
  */
1734 1734
 function give_form_content( $form_id, $args ) {
1735 1735
 
Please login to merge, or discard this patch.
includes/gateways/paypal-standard.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -565,7 +565,7 @@  discard block
 block discarded – undo
565 565
  *
566 566
  * @since 1.6.3
567 567
  *
568
- * @param $pending_reason
568
+ * @param string $pending_reason
569 569
  *
570 570
  * @return string
571 571
  */
@@ -645,7 +645,7 @@  discard block
 block discarded – undo
645 645
  * @param int   $payment_id   Payment ID
646 646
  * @param array $payment_data Array of payment data.
647 647
  *
648
- * @return mixed|string
648
+ * @return string
649 649
  */
650 650
 function _give_build_paypal_url( $payment_id, $payment_data ) {
651 651
 	$form_id = intval( $payment_data['post_data']['give-form-id'] );
Please login to merge, or discard this patch.
includes/admin/customers/customer-actions.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -527,7 +527,7 @@  discard block
 block discarded – undo
527 527
  * and redirect back to the donor interface for feedback
528 528
  *
529 529
  * @since  1.7
530
- * @return bool|null
530
+ * @return false|null
531 531
  */
532 532
 function give_remove_donor_email() {
533 533
 	if ( empty( $_GET['id'] ) || ! is_numeric( $_GET['id'] ) ) {
@@ -568,7 +568,7 @@  discard block
 block discarded – undo
568 568
  * and redirect back to the donor interface for feedback
569 569
  *
570 570
  * @since  1.7
571
- * @return bool|null
571
+ * @return false|null
572 572
  */
573 573
 function give_set_donor_primary_email() {
574 574
 	if ( empty( $_GET['id'] ) || ! is_numeric( $_GET['id'] ) ) {
Please login to merge, or discard this patch.
includes/admin/reporting/class-api-requests-logs-list-table.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
157 157
 	 *
158 158
 	 * @access public
159 159
 	 * @since  1.0
160
-	 * @return string|bool String if search is present, false otherwise
160
+	 * @return string|false String if search is present, false otherwise
161 161
 	 */
162 162
 	public function get_search() {
163 163
 		return ! empty( $_GET['s'] ) ? urldecode( trim( $_GET['s'] ) ) : false;
Please login to merge, or discard this patch.