Completed
Push — master ( 0af146...0e0d02 )
by Devin
13s
created
includes/admin/class-admin-settings.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -713,7 +713,7 @@
 block discarded – undo
713 713
 		 *
714 714
 		 * @param  array $value The form field value array
715 715
 		 *
716
-		 * @return array The description and tip as a 2 element array
716
+		 * @return string The description and tip as a 2 element array
717 717
 		 */
718 718
 		public static function get_field_description( $value ) {
719 719
 			$description = '';
Please login to merge, or discard this patch.
includes/admin/settings/class-settings-cmb2-backward-compatibility.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
 		 *
86 86
 		 * @since  1.8
87 87
 		 *
88
-		 * @param  $setting_tab
88
+		 * @param  string $setting_tab
89 89
 		 *
90 90
 		 * @return string
91 91
 		 */
Please login to merge, or discard this patch.
includes/admin/give-metabox-functions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1283,7 +1283,7 @@
 block discarded – undo
1283 1283
  *
1284 1284
  * @param $field
1285 1285
  *
1286
- * @return string
1286
+ * @return integer
1287 1287
  */
1288 1288
 function _give_set_field_give_id_default_value( $field ) {
1289 1289
 	return 0;
Please login to merge, or discard this patch.
includes/admin/shortcodes/class-shortcode-button.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
 	/**
114 114
 	 * Adds the "Donation Form" button above the TinyMCE Editor on add/edit screens.
115 115
 	 *
116
-	 * @return string|bool
116
+	 * @return false|null
117 117
 	 *
118 118
 	 * @since 1.0
119 119
 	 */
Please login to merge, or discard this patch.
includes/admin/customers/customer-actions.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -527,7 +527,7 @@  discard block
 block discarded – undo
527 527
  * and redirect back to the donor interface for feedback
528 528
  *
529 529
  * @since  1.7
530
- * @return bool|null
530
+ * @return false|null
531 531
  */
532 532
 function give_remove_donor_email() {
533 533
 	if ( empty( $_GET['id'] ) || ! is_numeric( $_GET['id'] ) ) {
@@ -568,7 +568,7 @@  discard block
 block discarded – undo
568 568
  * and redirect back to the donor interface for feedback
569 569
  *
570 570
  * @since  1.7
571
- * @return bool|null
571
+ * @return false|null
572 572
  */
573 573
 function give_set_donor_primary_email() {
574 574
 	if ( empty( $_GET['id'] ) || ! is_numeric( $_GET['id'] ) ) {
Please login to merge, or discard this patch.
includes/admin/reporting/class-api-requests-logs-list-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 string|bool 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/admin/reporting/class-sales-logs-list-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 string|bool 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/api/class-give-api.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -664,7 +664,7 @@
 block discarded – undo
664 664
 	 *
665 665
 	 * @param array $args Arguments to override defaults
666 666
 	 *
667
-	 * @return array $dates
667
+	 * @return integer|null $dates
668 668
 	 */
669 669
 	public function get_dates( $args = array() ) {
670 670
 		$dates = array();
Please login to merge, or discard this patch.
includes/forms/template.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
  *
22 22
  * @param  array $args An array of form arguments.
23 23
  *
24
- * @return string Donation form.
24
+ * @return false|null Donation form.
25 25
  */
26 26
 function give_get_donation_form( $args = array() ) {
27 27
 
@@ -1468,7 +1468,7 @@  discard block
 block discarded – undo
1468 1468
  *
1469 1469
  * @param  int $form_id The form ID.
1470 1470
  *
1471
- * @return bool
1471
+ * @return false|null
1472 1472
  */
1473 1473
 function give_terms_agreement( $form_id ) {
1474 1474
 	$form_option = get_post_meta( $form_id, '_give_terms_option', true );
@@ -1677,7 +1677,7 @@  discard block
 block discarded – undo
1677 1677
  * @param  int   $form_id The form ID.
1678 1678
  * @param  array $args    An array of form arguments.
1679 1679
  *
1680
- * @return mixed
1680
+ * @return boolean
1681 1681
  */
1682 1682
 function give_show_goal_progress( $form_id, $args ) {
1683 1683
 
@@ -1696,7 +1696,7 @@  discard block
 block discarded – undo
1696 1696
  * Get form content position.
1697 1697
  *
1698 1698
  * @since  1.8
1699
- * @param  $form_id
1699
+ * @param  integer $form_id
1700 1700
  * @param  $args
1701 1701
  * @return mixed|string
1702 1702
  */
@@ -1731,7 +1731,7 @@  discard block
 block discarded – undo
1731 1731
  * @param  int   $form_id The form ID.
1732 1732
  * @param  array $args    An array of form arguments.
1733 1733
  *
1734
- * @return void|bool
1734
+ * @return false|null
1735 1735
  */
1736 1736
 function give_form_content( $form_id, $args ) {
1737 1737
 
Please login to merge, or discard this patch.