Test Failed
Push — issues/370 ( 90279e )
by Ravinder
05:35
created
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.
includes/payments/backward-compatibility.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
  *                              metadata entries with the specified value.
17 17
  *                              Otherwise, update all entries.
18 18
  *
19
- * @return mixed
19
+ * @return null|boolean
20 20
  */
21 21
 function _give_20_bc_saving_old_payment_meta( $check, $object_id, $meta_key, $meta_value, $prev_value ) {
22 22
 	// Bailout.
Please login to merge, or discard this patch.
includes/class-give-logging.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -523,7 +523,7 @@
 block discarded – undo
523 523
 	 * @since  1.7
524 524
 	 * @access public
525 525
 	 *
526
-	 * @return bool
526
+	 * @return false|null
527 527
 	 */
528 528
 	public function delete_cache() {
529 529
 		// Add log related keys to delete.
Please login to merge, or discard this patch.
includes/class-give-cache.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 	 *
91 91
 	 * @param  string $cache_key
92 92
 	 * @param  bool   $custom_key
93
-	 * @param  mixed  $query_args
93
+	 * @param  string  $query_args
94 94
 	 *
95 95
 	 * @return mixed
96 96
 	 */
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
 	 *
206 206
 	 * @param bool  $force If set to true then all cached values will be delete instead of only expired
207 207
 	 *
208
-	 * @return bool
208
+	 * @return false|null
209 209
 	 */
210 210
 	public static function delete_all_expired( $force = false ) {
211 211
 		global $wpdb;
Please login to merge, or discard this patch.
includes/install.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -372,7 +372,7 @@
 block discarded – undo
372 372
  *
373 373
  * @since 1.8.11
374 374
  *
375
- * @return void
375
+ * @return false|null
376 376
  */
377 377
 function give_create_pages(){
378 378
 
Please login to merge, or discard this patch.
includes/admin/tools/import/class-give-import-donations.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -452,7 +452,7 @@  discard block
 block discarded – undo
452 452
 
453 453
 		/**
454 454
 		 * @param $option_value
455
-		 * @param $value
455
+		 * @param boolean $value
456 456
 		 *
457 457
 		 * @return string
458 458
 		 */
@@ -529,7 +529,7 @@  discard block
 block discarded – undo
529 529
 		 *
530 530
 		 * @since 1.8.14
531 531
 		 *
532
-		 * @param $file_id
532
+		 * @param integer $file_id
533 533
 		 *
534 534
 		 * @return bool|int
535 535
 		 */
Please login to merge, or discard this patch.