Test Failed
Push — issue/3417 ( 9726e4 )
by Ravinder
1141:09 queued 1139:41
created
includes/admin/donors/class-donor-table.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -258,7 +258,7 @@
 block discarded – undo
258 258
 	 * @access public
259 259
 	 * @since  1.0
260 260
 	 *
261
-	 * @return mixed string If search is present, false otherwise.
261
+	 * @return string|false string If search is present, false otherwise.
262 262
 	 */
263 263
 	public function get_search() {
264 264
 		return ! empty( $_GET['s'] ) ? urldecode( trim( $_GET['s'] ) ) : false;
Please login to merge, or discard this patch.
includes/ajax-functions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -521,7 +521,7 @@
 block discarded – undo
521 521
  *
522 522
  * @since 1.8.17
523 523
  *
524
- * @return bool
524
+ * @return false|null
525 525
  */
526 526
 function give_confirm_email_for_donation_access() {
527 527
 
Please login to merge, or discard this patch.
includes/class-give-email-access.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -242,7 +242,7 @@
 block discarded – undo
242 242
 	 * @since  1.0
243 243
 	 * @access public
244 244
 	 *
245
-	 * @return bool
245
+	 * @return boolean|null
246 246
 	 */
247 247
 	public function check_for_token() {
248 248
 
Please login to merge, or discard this patch.
includes/login-register.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
  * @param string $user_login Username
181 181
  * @param string $user_pass  Password
182 182
  *
183
- * @return bool
183
+ * @return false|null
184 184
  */
185 185
 function give_log_user_in( $user_id, $user_login, $user_pass ) {
186 186
 
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
  *
222 222
  * @param array $data Data sent from the register form
223 223
  *
224
- * @return bool
224
+ * @return false|null
225 225
  */
226 226
 function give_process_register_form( $data ) {
227 227
 
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
  *
308 308
  * @since 1.8.17
309 309
  *
310
- * @return bool
310
+ * @return boolean|null
311 311
  */
312 312
 function give_email_access_login() {
313 313
 
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/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-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.