Test Failed
Push — issue/3006 ( ed9800 )
by Ravinder
77:58 queued 71:42
created
includes/admin/payments/class-payments-table.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -506,7 +506,7 @@  discard block
 block discarded – undo
506 506
 	/**
507 507
 	 * Get donor email html.
508 508
 	 *
509
-	 * @param object $payment Contains all the data of the payment.
509
+	 * @param Give_Payment $payment Contains all the data of the payment.
510 510
 	 *
511 511
 	 * @access public
512 512
 	 * @since  1.0
@@ -534,7 +534,7 @@  discard block
 block discarded – undo
534 534
 	/**
535 535
 	 * Get Row Actions
536 536
 	 *
537
-	 * @param object $payment Payment Data.
537
+	 * @param Give_Payment $payment Payment Data.
538 538
 	 *
539 539
 	 * @since 1.6
540 540
 	 *
@@ -655,7 +655,7 @@  discard block
 block discarded – undo
655 655
 	/**
656 656
 	 * Get donor html.
657 657
 	 *
658
-	 * @param object $payment Contains all the data of the payment.
658
+	 * @param Give_Payment $payment Contains all the data of the payment.
659 659
 	 *
660 660
 	 * @access public
661 661
 	 * @since  1.0
Please login to merge, or discard this patch.
includes/class-give-cache.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
 	 *
122 122
 	 * @param  string $cache_key
123 123
 	 * @param  bool   $custom_key
124
-	 * @param  mixed  $query_args
124
+	 * @param  string  $query_args
125 125
 	 *
126 126
 	 * @return mixed
127 127
 	 */
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
 	 *
238 238
 	 * @param bool  $force If set to true then all cached values will be delete instead of only expired
239 239
 	 *
240
-	 * @return bool
240
+	 * @return false|null
241 241
 	 */
242 242
 	public static function delete_all_expired( $force = false ) {
243 243
 		global $wpdb;
@@ -669,7 +669,7 @@  discard block
 block discarded – undo
669 669
 	 * @since  2.0
670 670
 	 * @access private
671 671
 	 *
672
-	 * @param $group
672
+	 * @param string $group
673 673
 	 *
674 674
 	 * @return mixed
675 675
 	 */
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/login-register.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
  * @param string $user_login Username
175 175
  * @param string $user_pass  Password
176 176
  *
177
- * @return bool
177
+ * @return false|null
178 178
  */
179 179
 function give_log_user_in( $user_id, $user_login, $user_pass ) {
180 180
 
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
  *
216 216
  * @param array $data Data sent from the register form
217 217
  *
218
- * @return bool
218
+ * @return false|null
219 219
  */
220 220
 function give_process_register_form( $data ) {
221 221
 
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
  *
302 302
  * @since 1.8.17
303 303
  *
304
- * @return bool
304
+ * @return boolean|null
305 305
  */
306 306
 function give_email_access_login() {
307 307
 
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/payments/class-payments-query.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
 	 * @since  1.0
110 110
 	 * @access public
111 111
 	 *
112
-	 * @param $query_var
112
+	 * @param string $query_var
113 113
 	 * @param $value
114 114
 	 */
115 115
 	public function __set( $query_var, $value ) {
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
 	 * @since  1.0
127 127
 	 * @access public
128 128
 	 *
129
-	 * @param $query_var
129
+	 * @param string $query_var
130 130
 	 */
131 131
 	public function __unset( $query_var ) {
132 132
 		unset( $this->args[ $query_var ] );
@@ -467,7 +467,7 @@  discard block
 block discarded – undo
467 467
 	 * @param string   $order
468 468
 	 * @param WP_Query $query
469 469
 	 *
470
-	 * @return mixed
470
+	 * @return string
471 471
 	 */
472 472
 	public function custom_orderby( $order, $query ) {
473 473
 
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.
includes/api/class-give-api.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
 	 * @uses   Give_API::invalid_key()
327 327
 	 * @uses   Give_API::invalid_auth()
328 328
 	 * @since  1.1
329
-	 * @return bool
329
+	 * @return false|null
330 330
 	 */
331 331
 	private function validate_request() {
332 332
 		global $wp_query;
@@ -722,7 +722,7 @@  discard block
 block discarded – undo
722 722
 	 *
723 723
 	 * @param array $args Arguments to override defaults
724 724
 	 *
725
-	 * @return array $dates
725
+	 * @return integer|null $dates
726 726
 	 */
727 727
 	public function get_dates( $args = array() ) {
728 728
 		$dates = array();
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
@@ -1009,7 +1009,7 @@  discard block
 block discarded – undo
1009 1009
  * @since  1.0
1010 1010
  *
1011 1011
  * @param  array $field_arr
1012
- * @param  array $saved_value
1012
+ * @param  string|boolean $saved_value
1013 1013
  *
1014 1014
  * @return void
1015 1015
  */
@@ -1163,7 +1163,7 @@  discard block
 block discarded – undo
1163 1163
  * @params $string text
1164 1164
  * @params $filter array
1165 1165
  *
1166
- * @return text $string
1166
+ * @return string $string
1167 1167
  */
1168 1168
 function give_slug_to_title( $string, $filters = array() ) {
1169 1169
 
Please login to merge, or discard this patch.