Completed
Push — release/2.2.2 ( 733081 )
by Ravinder
1183:26 queued 1178:04
created
includes/class-give-logging.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -523,7 +523,7 @@
 block discarded – undo
523 523
 	 * @since  1.7
524 524
 	 * @access public
525 525
 	 *
526
-	 * @return bool
526
+	 * @return false|null
527 527
 	 */
528 528
 	public function delete_cache() {
529 529
 		// Add log related keys to delete.
Please login to merge, or discard this patch.
includes/admin/reports/class-donor-reports-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 mixed 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/formatting.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -283,7 +283,7 @@
 block discarded – undo
283 283
  * @since 1.0
284 284
  *
285 285
  * @param int|float|string $amount   Formatted or sanitized price
286
- * @param int|bool         $dp       number of decimals
286
+ * @param boolean         $dp       number of decimals
287 287
  * @param bool             $sanitize Whether or not sanitize number
288 288
  *
289 289
  * @return string $amount Newly formatted amount or Price Not Available
Please login to merge, or discard this patch.
includes/admin/tools/data/class-give-tools-delete-test-donors.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
 	 * Return the calculated completion percentage.
217 217
 	 *
218 218
 	 * @since 1.8.12
219
-	 * @return int
219
+	 * @return double
220 220
 	 */
221 221
 	public function get_percentage_complete() {
222 222
 		return ceil( ( 100 * $this->step_completed ) / $this->total_step );
@@ -353,6 +353,9 @@  discard block
 block discarded – undo
353 353
 		return true;
354 354
 	}
355 355
 
356
+	/**
357
+	 * @param integer $page
358
+	 */
356 359
 	public function get_delete_ids( $donation_ids, $page ) {
357 360
 		$index            = $page --;
358 361
 		$count            = count( $donation_ids );
Please login to merge, or discard this patch.
includes/admin/tools/import/class-give-import-donations.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -452,7 +452,7 @@  discard block
 block discarded – undo
452 452
 
453 453
 		/**
454 454
 		 * @param $option_value
455
-		 * @param $value
455
+		 * @param boolean $value
456 456
 		 *
457 457
 		 * @return string
458 458
 		 */
@@ -529,7 +529,7 @@  discard block
 block discarded – undo
529 529
 		 *
530 530
 		 * @since 1.8.14
531 531
 		 *
532
-		 * @param $file_id
532
+		 * @param integer $file_id
533 533
 		 *
534 534
 		 * @return bool|int
535 535
 		 */
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
@@ -258,7 +258,7 @@
 block discarded – undo
258 258
 	 * @access public
259 259
 	 * @since  1.0
260 260
 	 *
261
-	 * @return mixed string If search is present, false otherwise.
261
+	 * @return string|false string If search is present, false otherwise.
262 262
 	 */
263 263
 	public function get_search() {
264 264
 		return ! empty( $_GET['s'] ) ? urldecode( trim( $_GET['s'] ) ) : false;
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
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
 	 * NOTE: This should not be called directly as it does not make necessary changes to
162 162
 	 * the payment meta and logs. Use give_donor_delete() instead.
163 163
 	 *
164
-	 * @param  bool|string|int $_id_or_email ID or Email of Donor.
164
+	 * @param  integer $_id_or_email ID or Email of Donor.
165 165
 	 *
166 166
 	 * @since  1.0
167 167
 	 * @access public
@@ -358,7 +358,7 @@  discard block
 block discarded – undo
358 358
 	 * @access public
359 359
 	 *
360 360
 	 * @param  string $field ID or email. Default is 'id'.
361
-	 * @param  mixed  $value The Customer ID or email to search. Default is 0.
361
+	 * @param  integer  $value The Customer ID or email to search. Default is 0.
362 362
 	 *
363 363
 	 * @return mixed         Upon success, an object of the donor. Upon failure, NULL
364 364
 	 */
Please login to merge, or discard this patch.
includes/install.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -393,7 +393,7 @@
 block discarded – undo
393 393
  *
394 394
  * @since 1.8.11
395 395
  *
396
- * @return void
396
+ * @return false|null
397 397
  */
398 398
 function give_create_pages() {
399 399
 
Please login to merge, or discard this patch.
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.
@@ -989,7 +989,7 @@  discard block
 block discarded – undo
989 989
  * @access public
990 990
  * @since  2.0
991 991
  *
992
- * @return bool
992
+ * @return false|null
993 993
  */
994 994
 function give_update_donor_name_on_user_update( $user_id = 0 ) {
995 995
 
@@ -1029,7 +1029,7 @@  discard block
 block discarded – undo
1029 1029
  * @param  int          $user_id       User ID.
1030 1030
  * @param  WP_User|bool $old_user_data User data.
1031 1031
  *
1032
- * @return bool
1032
+ * @return false|null
1033 1033
  */
1034 1034
 function give_update_donor_email_on_user_update( $user_id = 0, $old_user_data = false ) {
1035 1035
 
Please login to merge, or discard this patch.