Test Failed
Push — issues/2619 ( cfea6c )
by Ravinder
04:46
created
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/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
  */
@@ -642,7 +642,7 @@  discard block
 block discarded – undo
642 642
  * @param int   $payment_id   Payment ID
643 643
  * @param array $payment_data Array of payment data.
644 644
  *
645
- * @return mixed|string
645
+ * @return string
646 646
  */
647 647
 function give_build_paypal_url( $payment_id, $payment_data ) {
648 648
 	// Only send to PayPal if the pending payment is created successfully.
Please login to merge, or discard this patch.
includes/admin/EDD_SL_Plugin_Updater.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
 	 * @uses api_request()
78 78
 	 *
79 79
 	 * @param array   $_transient_data Update array build by WordPress.
80
-	 * @return array Modified update array with custom plugin data.
80
+	 * @return stdClass Modified update array with custom plugin data.
81 81
 	 */
82 82
 	public function check_update( $_transient_data ) {
83 83
 
Please login to merge, or discard this patch.
includes/admin/emails/class-email-notifications.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -390,7 +390,7 @@  discard block
 block discarded – undo
390 390
 	 *
391 391
 	 * @since  2.0
392 392
 	 * @access public
393
-	 * @return bool|null
393
+	 * @return false|null
394 394
 	 */
395 395
 	public function preview_email() {
396 396
 		// Bailout.
@@ -526,7 +526,7 @@  discard block
 block discarded – undo
526 526
 	 *
527 527
 	 * @since  2.0
528 528
 	 * @access public
529
-	 * @return bool|null
529
+	 * @return false|null
530 530
 	 */
531 531
 	public function send_preview_email() {
532 532
 		// Bailout.
Please login to merge, or discard this patch.
includes/admin/emails/class-email-notification-util.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
 	 * @param Give_Email_Notification $email
135 135
 	 * @param int $form_id
136 136
 	 *
137
-	 * @return string
137
+	 * @return boolean
138 138
 	 */
139 139
 	public static function is_email_notification_active( Give_Email_Notification $email, $form_id = null ) {
140 140
 		$notification_status = $email->get_notification_status( $form_id );
Please login to merge, or discard this patch.
includes/admin/emails/abstract-email-notification.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -553,7 +553,7 @@
 block discarded – undo
553 553
 		 *
554 554
 		 * @param int $form_id
555 555
 		 *
556
-		 * @return array|string
556
+		 * @return string
557 557
 		 */
558 558
 		public function get_preview_email_recipient( $form_id = null ) {
559 559
 			$recipients = $this->get_recipient( $form_id );
Please login to merge, or discard this patch.
includes/admin/emails/class-donor-register-email.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
 		 * @param string                    $email_preview_header
121 121
 		 * @param Give_Donor_Register_Email $email
122 122
 		 *
123
-		 * @return bool
123
+		 * @return string|null
124 124
 		 */
125 125
 		public function email_preview_header( $email_preview_header, $email ) {
126 126
 			// Bailout.
Please login to merge, or discard this patch.