Completed
Push — release/2.5.0 ( 7976df...5baaa9 )
by Ravinder
16:01 queued 05:08
created
includes/admin/import-functions.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -555,10 +555,10 @@  discard block
 block discarded – undo
555 555
  *
556 556
  * @since 2.1
557 557
  *
558
- * @param $file_dir
559
- * @param $start
560
- * @param $end
561
- * @param $delimiter
558
+ * @param false|string $file_dir
559
+ * @param integer $start
560
+ * @param integer $end
561
+ * @param string $delimiter
562 562
  *
563 563
  * @return array
564 564
  */
@@ -584,7 +584,7 @@  discard block
 block discarded – undo
584 584
  *
585 585
  * @since 2.1
586 586
  *
587
- * @param $file_id
587
+ * @param integer $file_id
588 588
  *
589 589
  * @return false|string file content
590 590
  */
Please login to merge, or discard this patch.
includes/donors/class-give-donors-query.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -638,7 +638,7 @@
 block discarded – undo
638 638
 	 * @since  2.4.0
639 639
 	 * @access public
640 640
 	 *
641
-	 * @param $query_var
641
+	 * @param string $query_var
642 642
 	 * @param $value
643 643
 	 */
644 644
 	public function __set( $query_var, $value ) {
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
@@ -674,7 +674,7 @@
 block discarded – undo
674 674
  *
675 675
  * @since 1.8
676 676
  *
677
- * @param $size
677
+ * @param string $size
678 678
  *
679 679
  * @return int
680 680
  */
Please login to merge, or discard this patch.
includes/class-give-license-handler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -455,7 +455,7 @@
 block discarded – undo
455 455
 		 * @param array $api_params
456 456
 		 * @param bool  $response_in_array
457 457
 		 *
458
-		 * @return array|WP_Error
458
+		 * @return string
459 459
 		 * @since  1.8.9
460 460
 		 * @access public
461 461
 		 *
Please login to merge, or discard this patch.
includes/misc-functions.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
 /**
224 224
  * Retrieve Payment Key of the History Access Session.
225 225
  *
226
- * @return array|string
226
+ * @return boolean
227 227
  * @since 1.8.17
228 228
  */
229 229
 function give_get_history_session() {
@@ -612,7 +612,7 @@  discard block
 block discarded – undo
612 612
 /**
613 613
  * Show Donation Forms Post Type in Appearance > Menus by default on fresh install.
614 614
  *
615
- * @return bool
615
+ * @return false|null
616 616
  * @todo  Remove this, when WordPress Core ticket is resolved (https://core.trac.wordpress.org/ticket/16828).
617 617
  *
618 618
  * @since 1.8.14
@@ -920,7 +920,7 @@  discard block
 block discarded – undo
920 920
 /**
921 921
  * Check if terms enabled or not for form.
922 922
  *
923
- * @param $form_id
923
+ * @param integer $form_id
924 924
  *
925 925
  * @return bool
926 926
  * @since 1.8
@@ -1042,7 +1042,7 @@  discard block
 block discarded – undo
1042 1042
  * @param int    $id
1043 1043
  * @param string $meta_key
1044 1044
  * @param mixed  $meta_value
1045
- * @param mixed  $prev_value
1045
+ * @param string  $prev_value
1046 1046
  * @param string $meta_type
1047 1047
  *
1048 1048
  * @return mixed
@@ -1329,7 +1329,7 @@  discard block
 block discarded – undo
1329 1329
  * array_column() (PHP 5.5) but also supports objects.
1330 1330
  *
1331 1331
  * @param array      $list      List of objects or arrays
1332
- * @param int|string $field     Field from the object to place instead of the entire object
1332
+ * @param string $field     Field from the object to place instead of the entire object
1333 1333
  * @param int|string $index_key Optional. Field from the object to use as keys for the new array.
1334 1334
  *                              Default null.
1335 1335
  *
@@ -1756,7 +1756,7 @@  discard block
 block discarded – undo
1756 1756
 /**
1757 1757
  * Check if Company field enabled or not for form or globally.
1758 1758
  *
1759
- * @param $form_id
1759
+ * @param integer $form_id
1760 1760
  *
1761 1761
  * @return bool
1762 1762
  * @since 2.1
@@ -2277,7 +2277,7 @@  discard block
 block discarded – undo
2277 2277
  *
2278 2278
  * @param $args
2279 2279
  *
2280
- * @return bool|mixed
2280
+ * @return string|null
2281 2281
  * @since 2.4.1
2282 2282
  */
2283 2283
 function give_display_donation_receipt( $args ) {
@@ -2377,7 +2377,7 @@  discard block
 block discarded – undo
2377 2377
  * @param      $plugin_slug
2378 2378
  * @param bool        $by_plugin_name
2379 2379
  *
2380
- * @return mixed|void
2380
+ * @return string
2381 2381
  * @since 2.5.0
2382 2382
  */
2383 2383
 function give_get_addon_readme_url( $plugin_slug, $by_plugin_name = false ) {
Please login to merge, or discard this patch.