Test Setup Failed
Push — master ( fa8e9f...6cbaf5 )
by Ravinder
13:52 queued 02:29
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/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/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/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/admin/tools/logs/class-sales-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.
includes/class-give-license-handler.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -683,7 +683,7 @@  discard block
 block discarded – undo
683 683
 		 * @access private
684 684
 		 * @since  1.7
685 685
 		 *
686
-		 * @return bool
686
+		 * @return false|null
687 687
 		 */
688 688
 		private function __remove_license_key_from_subscriptions() {
689 689
 			$subscriptions = get_option( 'give_subscriptions', array() );
@@ -782,7 +782,7 @@  discard block
 block discarded – undo
782 782
 		 * @param $plugin_data
783 783
 		 * @param $status
784 784
 		 *
785
-		 * @return bool
785
+		 * @return false|null
786 786
 		 */
787 787
 		public function plugin_page_notices( $plugin_file, $plugin_data, $status ) {
788 788
 			// Bailout.
@@ -804,7 +804,7 @@  discard block
 block discarded – undo
804 804
 		 *
805 805
 		 * @since  1.8.7
806 806
 		 * @access public
807
-		 * @return array
807
+		 * @return string
808 808
 		 */
809 809
 		public function license_state_message() {
810 810
 			$message_data = array();
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.