Completed
Push — master ( 0af146...28843d )
by Ravinder
21:08
created
includes/admin/reporting/tools/class-give-tools-recount-form-stats.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 	 * @since  1.5
51 51
 	 * @global object $wpdb Used to query the database using the WordPress
52 52
 	 *                      Database API
53
-	 * @return array $data The data for the CSV file
53
+	 * @return boolean $data The data for the CSV file
54 54
 	 */
55 55
 	public function get_data() {
56 56
 		global $wpdb;
Please login to merge, or discard this patch.
includes/admin/reporting/tools/class-give-tools-recount-income.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 	 * @since  1.5
51 51
 	 * @global object $wpdb Used to query the database using the WordPress
52 52
 	 *                      Database API
53
-	 * @return array $data The data for the CSV file
53
+	 * @return boolean $data The data for the CSV file
54 54
 	 */
55 55
 	public function get_data() {
56 56
 		global $wpdb;
Please login to merge, or discard this patch.
admin/reporting/tools/class-give-tools-recount-single-customer-stats.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 	 * @since  1.5
51 51
 	 * @global object $wpdb Used to query the database using the WordPress
52 52
 	 *                      Database API
53
-	 * @return array $data The data for the CSV file
53
+	 * @return boolean $data The data for the CSV file
54 54
 	 */
55 55
 	public function get_data() {
56 56
 		global $wpdb;
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/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/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
 
@@ -1466,7 +1466,7 @@  discard block
 block discarded – undo
1466 1466
  *
1467 1467
  * @param  int $form_id The form ID.
1468 1468
  *
1469
- * @return bool
1469
+ * @return false|null
1470 1470
  */
1471 1471
 function give_terms_agreement( $form_id ) {
1472 1472
 	$form_option = get_post_meta( $form_id, '_give_terms_option', true );
@@ -1675,7 +1675,7 @@  discard block
 block discarded – undo
1675 1675
  * @param  int   $form_id The form ID.
1676 1676
  * @param  array $args    An array of form arguments.
1677 1677
  *
1678
- * @return mixed
1678
+ * @return boolean
1679 1679
  */
1680 1680
 function give_show_goal_progress( $form_id, $args ) {
1681 1681
 
@@ -1694,7 +1694,7 @@  discard block
 block discarded – undo
1694 1694
  * Get form content position.
1695 1695
  *
1696 1696
  * @since  1.8
1697
- * @param  $form_id
1697
+ * @param  integer $form_id
1698 1698
  * @param  $args
1699 1699
  * @return mixed|string
1700 1700
  */
@@ -1729,7 +1729,7 @@  discard block
 block discarded – undo
1729 1729
  * @param  int   $form_id The form ID.
1730 1730
  * @param  array $args    An array of form arguments.
1731 1731
  *
1732
- * @return void|bool
1732
+ * @return false|null
1733 1733
  */
1734 1734
 function give_form_content( $form_id, $args ) {
1735 1735
 
Please login to merge, or discard this patch.
includes/gateways/paypal-standard.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -565,7 +565,7 @@  discard block
 block discarded – undo
565 565
  *
566 566
  * @since 1.6.3
567 567
  *
568
- * @param $pending_reason
568
+ * @param string $pending_reason
569 569
  *
570 570
  * @return string
571 571
  */
@@ -645,7 +645,7 @@  discard block
 block discarded – undo
645 645
  * @param int   $payment_id   Payment ID
646 646
  * @param array $payment_data Array of payment data.
647 647
  *
648
- * @return mixed|string
648
+ * @return string
649 649
  */
650 650
 function _give_build_paypal_url( $payment_id, $payment_data ) {
651 651
 	$form_id = intval( $payment_data['post_data']['give-form-id'] );
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.