Completed
Push — issue/2903 ( bb80e9 )
by Ravinder
608:00 queued 597:05
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/misc-functions.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
  *
213 213
  * @since 1.8.17
214 214
  *
215
- * @return array|string
215
+ * @return boolean
216 216
  */
217 217
 function give_get_history_session() {
218 218
 	return (bool) Give()->session->get( 'history_access' );
@@ -685,7 +685,7 @@  discard block
 block discarded – undo
685 685
  *
686 686
  * @todo  Remove this, when WordPress Core ticket is resolved (https://core.trac.wordpress.org/ticket/16828).
687 687
  *
688
- * @return bool
688
+ * @return false|null
689 689
  */
690 690
 function give_donation_metabox_menu() {
691 691
 
@@ -1084,7 +1084,7 @@  discard block
 block discarded – undo
1084 1084
  * @param int    $id
1085 1085
  * @param string $meta_key
1086 1086
  * @param mixed  $meta_value
1087
- * @param mixed  $prev_value
1087
+ * @param string  $prev_value
1088 1088
  *
1089 1089
  * @return mixed
1090 1090
  */
@@ -1291,7 +1291,7 @@  discard block
 block discarded – undo
1291 1291
  * @since 1.8.13
1292 1292
  *
1293 1293
  * @param array      $list      List of objects or arrays
1294
- * @param int|string $field     Field from the object to place instead of the entire object
1294
+ * @param string $field     Field from the object to place instead of the entire object
1295 1295
  * @param int|string $index_key Optional. Field from the object to use as keys for the new array.
1296 1296
  *                              Default null.
1297 1297
  *
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/process-donation.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
  * @access private
23 23
  * @since  1.0
24 24
  *
25
- * @return mixed
25
+ * @return false|null
26 26
  */
27 27
 function give_process_donation_form() {
28 28
 	$is_ajax = isset( $_POST['give_ajax'] );
@@ -462,7 +462,7 @@  discard block
 block discarded – undo
462 462
  * @access      private
463 463
  * @since       1.0
464 464
  *
465
- * @param       $form_id
465
+ * @param       integer $form_id
466 466
  *
467 467
  * @return      array
468 468
  */
Please login to merge, or discard this patch.