Completed
Push — issues/1494 ( 25a6f9...6e2f25 )
by Ravinder
19:13
created
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.