Completed
Push — release/1.8.16 ( a1ff90 )
by Ravinder
962:05 queued 956:04
created
includes/admin/donors/class-donor-table.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -258,7 +258,7 @@
 block discarded – undo
258 258
 	 * @access public
259 259
 	 * @since  1.0
260 260
 	 *
261
-	 * @return mixed string If search is present, false otherwise.
261
+	 * @return string|false string If search is present, false otherwise.
262 262
 	 */
263 263
 	public function get_search() {
264 264
 		return ! empty( $_GET['s'] ) ? urldecode( trim( $_GET['s'] ) ) : false;
Please login to merge, or discard this patch.
includes/admin/donors/donor-actions.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
  *
22 22
  * @since 1.0
23 23
  *
24
- * @return array|bool $output Response messages
24
+ * @return false|null $output Response messages
25 25
  */
26 26
 function give_edit_donor( $args ) {
27 27
 
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
  *
228 228
  * @since 1.0
229 229
  *
230
- * @return int Whether it was a successful deletion.
230
+ * @return false|null Whether it was a successful deletion.
231 231
  */
232 232
 function give_donor_delete( $args ) {
233 233
 
@@ -521,7 +521,7 @@  discard block
 block discarded – undo
521 521
  *
522 522
  * @since  1.7
523 523
  *
524
- * @return bool|null
524
+ * @return false|null
525 525
  */
526 526
 function give_remove_donor_email() {
527 527
 	if ( empty( $_GET['id'] ) || ! is_numeric( $_GET['id'] ) ) {
@@ -565,7 +565,7 @@  discard block
 block discarded – undo
565 565
  *
566 566
  * @since  1.7
567 567
  *
568
- * @return bool|null
568
+ * @return false|null
569 569
  */
570 570
 function give_set_donor_primary_email() {
571 571
 	if ( empty( $_GET['id'] ) || ! is_numeric( $_GET['id'] ) ) {
Please login to merge, or discard this patch.
includes/payments/functions.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -705,7 +705,7 @@  discard block
 block discarded – undo
705 705
  *
706 706
  * @since 1.0
707 707
  *
708
- * @return int $earnings Earnings
708
+ * @return double $earnings Earnings
709 709
  */
710 710
 function give_get_earnings_by_date( $day = null, $month_num, $year = null, $hour = null ) {
711 711
 
@@ -993,7 +993,7 @@  discard block
 block discarded – undo
993 993
  *
994 994
  * @since 1.0
995 995
  *
996
- * @return array $user_info User Info Meta Values.
996
+ * @return string $user_info User Info Meta Values.
997 997
  */
998 998
 function give_get_payment_meta_user_info( $payment_id ) {
999 999
 	$payment = new Give_Payment( $payment_id );
@@ -1010,7 +1010,7 @@  discard block
 block discarded – undo
1010 1010
  *
1011 1011
  * @since 1.0
1012 1012
  *
1013
- * @return int $form_id Form ID.
1013
+ * @return string $form_id Form ID.
1014 1014
  */
1015 1015
 function give_get_payment_form_id( $payment_id ) {
1016 1016
 	$payment = new Give_Payment( $payment_id );
Please login to merge, or discard this patch.