Test Failed
Push — master ( 966cf3...fe1ced )
by Devin
13:57 queued 06:53
created
includes/class-give-donor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -918,7 +918,7 @@
 block discarded – undo
918 918
 	 * @access public
919 919
 	 *
920 920
 	 * @param  string $meta_key Metadata name. Default is empty.
921
-	 * @param  mixed $meta_value Optional. Metadata value. Default is empty.
921
+	 * @param  string $meta_value Optional. Metadata value. Default is empty.
922 922
 	 *
923 923
 	 * @return bool               False for failure. True for success.
924 924
 	 */
Please login to merge, or discard this patch.
includes/admin/admin-actions.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
  *
41 41
  * @since 1.8
42 42
  *
43
- * @return bool
43
+ * @return false|null
44 44
  */
45 45
 function give_redirect_to_clean_url_admin_pages() {
46 46
 	// Give admin pages.
@@ -992,7 +992,7 @@  discard block
 block discarded – undo
992 992
  * @access public
993 993
  * @since  2.0
994 994
  *
995
- * @return bool
995
+ * @return false|null
996 996
  */
997 997
 function give_update_donor_name_on_user_update( $user_id = 0 ) {
998 998
 
@@ -1032,7 +1032,7 @@  discard block
 block discarded – undo
1032 1032
  * @param  int          $user_id       User ID.
1033 1033
  * @param  WP_User|bool $old_user_data User data.
1034 1034
  *
1035
- * @return bool
1035
+ * @return false|null
1036 1036
  */
1037 1037
 function give_update_donor_email_on_user_update( $user_id = 0, $old_user_data = false ) {
1038 1038
 
Please login to merge, or discard this patch.
includes/admin/donors/donor-functions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
  * Connect and Reconnect Donor with User profile.
90 90
  * @todo $address is unnecessary param because we are store address to user.
91 91
  *
92
- * @param object $donor      Donor Object.
92
+ * @param Give_Donor $donor      Donor Object.
93 93
  * @param array  $donor_data Donor Post Variables.
94 94
  * @param array  $address    Address Information.
95 95
  *
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
@@ -600,7 +600,7 @@
 block discarded – undo
600 600
 		 *
601 601
 		 * @param int $form_id
602 602
 		 *
603
-		 * @return array|string
603
+		 * @return string
604 604
 		 */
605 605
 		public function get_preview_email_recipient( $form_id = null ) {
606 606
 			$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.
includes/admin/emails/class-email-notification-util.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@
 block discarded – undo
178 178
 	 * @param Give_Email_Notification $email
179 179
 	 * @param int $form_id
180 180
 	 *
181
-	 * @return string
181
+	 * @return boolean
182 182
 	 */
183 183
 	public static function is_email_notification_active( Give_Email_Notification $email, $form_id = null ) {
184 184
 		$notification_status = $email->get_notification_status( $form_id );
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
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
 	 *
232 232
 	 * @since  2.0
233 233
 	 * @access public
234
-	 * @return bool|null
234
+	 * @return false|null
235 235
 	 */
236 236
 	public function preview_email() {
237 237
 		// Bailout.
@@ -369,7 +369,7 @@  discard block
 block discarded – undo
369 369
 	 *
370 370
 	 * @since  2.0
371 371
 	 * @access public
372
-	 * @return bool|null
372
+	 * @return false|null
373 373
 	 */
374 374
 	public function send_preview_email() {
375 375
 		// Bailout.
Please login to merge, or discard this patch.
includes/admin/payments/class-payments-table.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -528,7 +528,7 @@  discard block
 block discarded – undo
528 528
 	/**
529 529
 	 * Get donor email html.
530 530
 	 *
531
-	 * @param object $payment Contains all the data of the payment.
531
+	 * @param Give_Payment $payment Contains all the data of the payment.
532 532
 	 *
533 533
 	 * @access public
534 534
 	 * @since  1.0
@@ -556,7 +556,7 @@  discard block
 block discarded – undo
556 556
 	/**
557 557
 	 * Get Row Actions
558 558
 	 *
559
-	 * @param object $payment Payment Data.
559
+	 * @param Give_Payment $payment Payment Data.
560 560
 	 *
561 561
 	 * @since 1.6
562 562
 	 *
@@ -677,7 +677,7 @@  discard block
 block discarded – undo
677 677
 	/**
678 678
 	 * Get donor html.
679 679
 	 *
680
-	 * @param object $payment Contains all the data of the payment.
680
+	 * @param Give_Payment $payment Contains all the data of the payment.
681 681
 	 *
682 682
 	 * @access public
683 683
 	 * @since  1.0
Please login to merge, or discard this patch.
includes/admin/tools/logs/class-api-requests-logs-list-table.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@
 block discarded – undo
187 187
 	 * @access public
188 188
 	 * @since  1.0
189 189
 	 *
190
-	 * @return string|bool String if search is present, false otherwise
190
+	 * @return string|false String if search is present, false otherwise
191 191
 	 */
192 192
 	public function get_search() {
193 193
 		return ! empty( $_GET['s'] ) ? urldecode( trim( $_GET['s'] ) ) : false;
Please login to merge, or discard this patch.