Test Setup Failed
Push — master ( f5c959...69470d )
by Ravinder
09:49
created
includes/ajax-functions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -670,7 +670,7 @@
 block discarded – undo
670 670
  *
671 671
  * @since 1.8.17
672 672
  *
673
- * @return bool
673
+ * @return false|null
674 674
  */
675 675
 function give_confirm_email_for_donation_access() {
676 676
 
Please login to merge, or discard this patch.
includes/api/class-give-api-v2.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
 	 * @param WP_REST_Request $request
154 154
 	 *
155 155
 	 * @access public
156
-	 * @return array|mixed|object
156
+	 * @return string|null
157 157
 	 */
158 158
 	public function get_donation_grid( $request ) {
159 159
 		$parameters = $request->get_params();
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
 	 * @param WP_REST_Request $request
168 168
 	 *
169 169
 	 * @access public
170
-	 * @return array|mixed|object
170
+	 * @return string|boolean
171 171
 	 */
172 172
 	public function get_donor_wall( $request ) {
173 173
 		$parameters = $request->get_params();
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/class-give-cache.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
 	 *
196 196
 	 * @param  string $cache_key
197 197
 	 * @param  bool   $custom_key
198
-	 * @param  mixed  $query_args
198
+	 * @param  string  $query_args
199 199
 	 *
200 200
 	 * @return mixed
201 201
 	 */
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
 	 *
314 314
 	 * @param bool  $force If set to true then all cached values will be delete instead of only expired
315 315
 	 *
316
-	 * @return bool
316
+	 * @return false|null
317 317
 	 */
318 318
 	public static function delete_all_expired( $force = false ) {
319 319
 		global $wpdb;
@@ -754,7 +754,7 @@  discard block
 block discarded – undo
754 754
 	 * @since  2.0
755 755
 	 * @access private
756 756
 	 *
757
-	 * @param $group
757
+	 * @param string $group
758 758
 	 *
759 759
 	 * @return mixed
760 760
 	 */
Please login to merge, or discard this patch.
includes/class-give-comment.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -439,7 +439,7 @@  discard block
 block discarded – undo
439 439
 	 * @param int        $comment_id
440 440
 	 * @param WP_Comment $comment
441 441
 	 *
442
-	 * @return mixed
442
+	 * @return string
443 443
 	 */
444 444
 	public function __get_comment_author( $author, $comment_id, $comment ) {
445 445
 		if ( in_array( $comment->comment_type, $this->comment_types ) ) {
@@ -462,6 +462,7 @@  discard block
 block discarded – undo
462 462
 	 * @access public
463 463
 	 *
464 464
 	 * @param array @comment_types
465
+	 * @param string[] $comment_types
465 466
 	 *
466 467
 	 * @return array
467 468
 	 */
Please login to merge, or discard this patch.
includes/class-give-db-donors.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
 	 * NOTE: This should not be called directly as it does not make necessary changes to
209 209
 	 * the payment meta and logs. Use give_donor_delete() instead.
210 210
 	 *
211
-	 * @param  bool|string|int $_id_or_email ID or Email of Donor.
211
+	 * @param  integer $_id_or_email ID or Email of Donor.
212 212
 	 *
213 213
 	 * @since  1.0
214 214
 	 * @access public
@@ -408,7 +408,7 @@  discard block
 block discarded – undo
408 408
 	 * @access public
409 409
 	 *
410 410
 	 * @param  string $field ID or email. Default is 'id'.
411
-	 * @param  mixed  $value The Customer ID or email to search. Default is 0.
411
+	 * @param  integer  $value The Customer ID or email to search. Default is 0.
412 412
 	 *
413 413
 	 * @return mixed         Upon success, an object of the donor. Upon failure, NULL
414 414
 	 */
Please login to merge, or discard this patch.
includes/class-give-db-meta.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
 	/**
280 280
 	 * Rename query clauses for new meta table
281 281
 	 *
282
-	 * @param $clause
282
+	 * @param string $clause
283 283
 	 * @param $filter
284 284
 	 *
285 285
 	 * @return mixed
@@ -515,7 +515,7 @@  discard block
 block discarded – undo
515 515
 	 * @since  2.0.4
516 516
 	 * @access public
517 517
 	 *
518
-	 * @return string
518
+	 * @return boolean
519 519
 	 */
520 520
 	public function get_meta_type() {
521 521
 		return $this->meta_type;
Please login to merge, or discard this patch.
includes/class-give-donor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1077,7 +1077,7 @@
 block discarded – undo
1077 1077
 	 * @access public
1078 1078
 	 *
1079 1079
 	 * @param  string $meta_key   Metadata name. Default is empty.
1080
-	 * @param  mixed  $meta_value Optional. Metadata value. Default is empty.
1080
+	 * @param  string  $meta_value Optional. Metadata value. Default is empty.
1081 1081
 	 *
1082 1082
 	 * @return bool               False for failure. True for success.
1083 1083
 	 */
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
@@ -204,7 +204,7 @@
 block discarded – undo
204 204
 	 * @since  1.0
205 205
 	 * @access public
206 206
 	 *
207
-	 * @return bool
207
+	 * @return boolean|null
208 208
 	 */
209 209
 	public function check_for_token() {
210 210
 
Please login to merge, or discard this patch.