Completed
Push — issues/611 ( 2f1ccf...5f4e1c )
by Ravinder
19:40
created
includes/admin/admin-actions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
  *
99 99
  * @since 1.8
100 100
  *
101
- * @return bool
101
+ * @return false|null
102 102
  */
103 103
 function give_redirect_to_clean_url_admin_pages() {
104 104
 	// Give admin pages.
Please login to merge, or discard this patch.
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 $give_logs, $wpdb;
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
  */
@@ -642,7 +642,7 @@  discard block
 block discarded – undo
642 642
  * @param int   $payment_id   Payment ID
643 643
  * @param array $payment_data Array of payment data.
644 644
  *
645
- * @return mixed|string
645
+ * @return string
646 646
  */
647 647
 function give_build_paypal_url( $payment_id, $payment_data ) {
648 648
 	// Only send to PayPal if the pending payment is created successfully.
Please login to merge, or discard this patch.
includes/admin/reporting/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/admin/customers/class-customer-table.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -253,7 +253,7 @@
 block discarded – undo
253 253
 	 *
254 254
 	 * @access public
255 255
 	 * @since  1.0
256
-	 * @return mixed string If search is present, false otherwise.
256
+	 * @return string|false string If search is present, false otherwise.
257 257
 	 */
258 258
 	public function get_search() {
259 259
 		return ! empty( $_GET['s'] ) ? urldecode( trim( $_GET['s'] ) ) : false;
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
@@ -232,7 +232,7 @@
 block discarded – undo
232 232
 	 * @since  1.0
233 233
 	 * @access public
234 234
 	 *
235
-	 * @return bool
235
+	 * @return null|boolean
236 236
 	 */
237 237
 	public function check_for_token() {
238 238
 
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
 
@@ -1473,7 +1473,7 @@  discard block
 block discarded – undo
1473 1473
  *
1474 1474
  * @param  int $form_id The form ID.
1475 1475
  *
1476
- * @return bool
1476
+ * @return false|null
1477 1477
  */
1478 1478
 function give_terms_agreement( $form_id ) {
1479 1479
 	$form_option = get_post_meta( $form_id, '_give_terms_option', true );
@@ -1683,7 +1683,7 @@  discard block
 block discarded – undo
1683 1683
  * @param  int   $form_id The form ID.
1684 1684
  * @param  array $args    An array of form arguments.
1685 1685
  *
1686
- * @return mixed
1686
+ * @return boolean
1687 1687
  */
1688 1688
 function give_show_goal_progress( $form_id, $args ) {
1689 1689
 
@@ -1703,7 +1703,7 @@  discard block
 block discarded – undo
1703 1703
  *
1704 1704
  * @since  1.8
1705 1705
  *
1706
- * @param  $form_id
1706
+ * @param  integer $form_id
1707 1707
  * @param  $args
1708 1708
  *
1709 1709
  * @return mixed|string
@@ -1744,7 +1744,7 @@  discard block
 block discarded – undo
1744 1744
  * @param  int   $form_id The form ID.
1745 1745
  * @param  array $args    An array of form arguments.
1746 1746
  *
1747
- * @return void|bool
1747
+ * @return false|null
1748 1748
  */
1749 1749
 function give_form_content( $form_id, $args ) {
1750 1750
 
Please login to merge, or discard this patch.
includes/admin/EDD_SL_Plugin_Updater.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
 	 * @uses api_request()
78 78
 	 *
79 79
 	 * @param array   $_transient_data Update array build by WordPress.
80
-	 * @return array Modified update array with custom plugin data.
80
+	 * @return stdClass Modified update array with custom plugin data.
81 81
 	 */
82 82
 	public function check_update( $_transient_data ) {
83 83
 
Please login to merge, or discard this patch.
includes/admin/class-give-settings.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 	 *
73 73
 	 * @param $url
74 74
 	 *
75
-	 * @return mixed
75
+	 * @return string
76 76
 	 */
77 77
 	public function give_update_cmb_meta_box_url( $url ) {
78 78
 		// Path to Give's CMB
@@ -976,7 +976,7 @@  discard block
 block discarded – undo
976 976
  * @since 1.0
977 977
  *
978 978
  * @param array $field_arr
979
- * @param array $saved_values
979
+ * @param string|boolean $saved_values
980 980
  *
981 981
  * @return void
982 982
  */
@@ -1011,7 +1011,7 @@  discard block
 block discarded – undo
1011 1011
  * @since  1.0
1012 1012
  *
1013 1013
  * @param  array $field_arr
1014
- * @param  array $saved_value
1014
+ * @param  string|boolean $saved_value
1015 1015
  *
1016 1016
  * @return void
1017 1017
  */
Please login to merge, or discard this patch.