Test Failed
Push — master ( 36b0ed...c8da5c )
by Devin
09:29 queued 10s
created
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.
@@ -1050,7 +1050,7 @@  discard block
 block discarded – undo
1050 1050
  * @access public
1051 1051
  * @since  2.0
1052 1052
  *
1053
- * @return bool
1053
+ * @return false|null
1054 1054
  */
1055 1055
 function give_update_donor_name_on_user_update( $user_id = 0 ) {
1056 1056
 
@@ -1092,7 +1092,7 @@  discard block
 block discarded – undo
1092 1092
  * @param  int          $user_id       User ID.
1093 1093
  * @param  WP_User|bool $old_user_data User data.
1094 1094
  *
1095
- * @return bool
1095
+ * @return false|null
1096 1096
  */
1097 1097
 function give_update_donor_email_on_user_update( $user_id = 0, $old_user_data = false ) {
1098 1098
 
Please login to merge, or discard this patch.
includes/admin/class-addon-activation-banner.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -506,7 +506,7 @@
 block discarded – undo
506 506
 	 *
507 507
 	 * @param string $main_file Plugin Main File.
508 508
 	 *
509
-	 * @return bool|mixed|string
509
+	 * @return string
510 510
 	 */
511 511
 	public function get_plugin_folder_name( $main_file ) {
512 512
 		// Remove plugin file and get the Add-on's folder name only.
Please login to merge, or discard this patch.
includes/admin/class-give-settings.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 	 *
73 73
 	 * @param $url
74 74
 	 *
75
-	 * @return mixed
75
+	 * @return string
76 76
 	 */
77 77
 	public function give_update_cmb_meta_box_url( $url ) {
78 78
 		// Path to Give's CMB
@@ -1063,7 +1063,7 @@  discard block
 block discarded – undo
1063 1063
  * @since  1.0
1064 1064
  *
1065 1065
  * @param  array $field_arr
1066
- * @param  array $saved_value
1066
+ * @param  string|boolean $saved_value
1067 1067
  *
1068 1068
  * @return void
1069 1069
  */
@@ -1218,7 +1218,7 @@  discard block
 block discarded – undo
1218 1218
  * @params $string text
1219 1219
  * @params $filter array
1220 1220
  *
1221
- * @return text $string
1221
+ * @return string $string
1222 1222
  */
1223 1223
 function give_slug_to_title( $string, $filters = array() ) {
1224 1224
 
Please login to merge, or discard this patch.
includes/admin/donors/class-donor-table.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -259,7 +259,7 @@
 block discarded – undo
259 259
 	 * @access public
260 260
 	 * @since  1.0
261 261
 	 *
262
-	 * @return mixed string If search is present, false otherwise.
262
+	 * @return string|false string If search is present, false otherwise.
263 263
 	 */
264 264
 	public function get_search() {
265 265
 		return ! empty( $_GET['s'] ) ? urldecode( trim( $_GET['s'] ) ) : false;
Please login to merge, or discard this patch.
includes/admin/donors/donor-actions.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
  *
22 22
  * @since 1.0
23 23
  *
24
- * @return array|bool $output Response messages
24
+ * @return false|null $output Response messages
25 25
  */
26 26
 function give_edit_donor( $args ) {
27 27
 
@@ -434,7 +434,7 @@  discard block
 block discarded – undo
434 434
  *
435 435
  * @since  1.7
436 436
  *
437
- * @return bool|null
437
+ * @return false|null
438 438
  */
439 439
 function give_remove_donor_email() {
440 440
 	if ( empty( $_GET['id'] ) || ! is_numeric( $_GET['id'] ) ) {
@@ -478,7 +478,7 @@  discard block
 block discarded – undo
478 478
  *
479 479
  * @since  1.7
480 480
  *
481
- * @return bool|null
481
+ * @return false|null
482 482
  */
483 483
 function give_set_donor_primary_email() {
484 484
 	if ( empty( $_GET['id'] ) || ! is_numeric( $_GET['id'] ) ) {
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
@@ -162,7 +162,7 @@
 block discarded – undo
162 162
 /**
163 163
  * This function is used to delete donor and related donation without redirection.
164 164
  *
165
- * @param int|Give_Donor $donor Donor ID or List of Donor IDs.
165
+ * @param Give_Donor $donor Donor ID or List of Donor IDs.
166 166
  * @param array          $args  List of arguments to handle donor and related donation deletion process.
167 167
  *
168 168
  * @type bool delete_donation Delete donor linked donations if set to true. Default is false.
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
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
 	 * @uses api_request()
92 92
 	 *
93 93
 	 * @param array $_transient_data Update array build by WordPress.
94
-	 * @return array Modified update array with custom plugin data.
94
+	 * @return stdClass Modified update array with custom plugin data.
95 95
 	 */
96 96
 	public function check_update( $_transient_data ) {
97 97
 
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
@@ -645,7 +645,7 @@
 block discarded – undo
645 645
 		 *
646 646
 		 * @param int $form_id
647 647
 		 *
648
-		 * @return array|string
648
+		 * @return string
649 649
 		 */
650 650
 		public function get_preview_email_recipient( $form_id = null ) {
651 651
 			$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
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
 		 * @param string                    $email_preview_header
123 123
 		 * @param Give_Donor_Register_Email $email
124 124
 		 *
125
-		 * @return bool
125
+		 * @return string|null
126 126
 		 */
127 127
 		public function email_preview_header( $email_preview_header, $email ) {
128 128
 			// Bailout.
Please login to merge, or discard this patch.