@@ -1741,7 +1741,7 @@ |
||
1741 | 1741 | * |
1742 | 1742 | * @param $field |
1743 | 1743 | * |
1744 | - * @return string |
|
1744 | + * @return integer |
|
1745 | 1745 | */ |
1746 | 1746 | function _give_set_field_give_id_default_value( $field ) { |
1747 | 1747 | return 0; |
@@ -534,7 +534,7 @@ discard block |
||
534 | 534 | /** |
535 | 535 | * Get donor email html. |
536 | 536 | * |
537 | - * @param object $payment Contains all the data of the payment. |
|
537 | + * @param Give_Payment $payment Contains all the data of the payment. |
|
538 | 538 | * |
539 | 539 | * @access public |
540 | 540 | * @since 1.0 |
@@ -562,7 +562,7 @@ discard block |
||
562 | 562 | /** |
563 | 563 | * Get Row Actions |
564 | 564 | * |
565 | - * @param object $payment Payment Data. |
|
565 | + * @param Give_Payment $payment Payment Data. |
|
566 | 566 | * |
567 | 567 | * @since 1.6 |
568 | 568 | * |
@@ -683,7 +683,7 @@ discard block |
||
683 | 683 | /** |
684 | 684 | * Get donor html. |
685 | 685 | * |
686 | - * @param object $payment Contains all the data of the payment. |
|
686 | + * @param Give_Payment $payment Contains all the data of the payment. |
|
687 | 687 | * |
688 | 688 | * @access public |
689 | 689 | * @since 1.0 |
@@ -265,7 +265,7 @@ |
||
265 | 265 | * |
266 | 266 | * @access public |
267 | 267 | * @since 1.0 |
268 | - * @return mixed string If search is present, false otherwise |
|
268 | + * @return string|false string If search is present, false otherwise |
|
269 | 269 | */ |
270 | 270 | public function get_search() { |
271 | 271 | return ! empty( $_GET['s'] ) ? urldecode( trim( $_GET['s'] ) ) : false; |
@@ -84,7 +84,7 @@ |
||
84 | 84 | * |
85 | 85 | * @since 1.8 |
86 | 86 | * |
87 | - * @param $setting_tab |
|
87 | + * @param string $setting_tab |
|
88 | 88 | * |
89 | 89 | * @return string |
90 | 90 | */ |
@@ -66,7 +66,7 @@ |
||
66 | 66 | /** |
67 | 67 | * Constructor. |
68 | 68 | * |
69 | - * @param number $_step Step ID of the currenct batch. |
|
69 | + * @param integer $_step Step ID of the currenct batch. |
|
70 | 70 | */ |
71 | 71 | public function __construct( $_step = 1 ) { |
72 | 72 | parent::__construct( $_step ); |
@@ -290,7 +290,7 @@ |
||
290 | 290 | * |
291 | 291 | * @since 1.8.12 |
292 | 292 | * |
293 | - * @return int |
|
293 | + * @return double |
|
294 | 294 | */ |
295 | 295 | public function get_percentage_complete() { |
296 | 296 | return ceil( ( 100 * $this->step_completed ) / $this->total_step ); |
@@ -225,7 +225,7 @@ discard block |
||
225 | 225 | * Return the calculated completion percentage. |
226 | 226 | * |
227 | 227 | * @since 1.8.12 |
228 | - * @return int |
|
228 | + * @return double |
|
229 | 229 | */ |
230 | 230 | public function get_percentage_complete() { |
231 | 231 | return ceil( ( 100 * $this->step_completed ) / $this->total_step ); |
@@ -361,6 +361,9 @@ discard block |
||
361 | 361 | return true; |
362 | 362 | } |
363 | 363 | |
364 | + /** |
|
365 | + * @param integer $page |
|
366 | + */ |
|
364 | 367 | public function get_delete_ids( $donation_ids, $page ) { |
365 | 368 | $index = $page --; |
366 | 369 | $count = count( $donation_ids ); |
@@ -187,7 +187,7 @@ |
||
187 | 187 | * @access public |
188 | 188 | * @since 1.0 |
189 | 189 | * |
190 | - * @return string|bool String if search is present, false otherwise |
|
190 | + * @return string|false String if search is present, false otherwise |
|
191 | 191 | */ |
192 | 192 | public function get_search() { |
193 | 193 | return ! empty( $_GET['s'] ) ? urldecode( trim( $_GET['s'] ) ) : false; |
@@ -670,7 +670,7 @@ |
||
670 | 670 | * |
671 | 671 | * @since 1.8.17 |
672 | 672 | * |
673 | - * @return bool |
|
673 | + * @return false|null |
|
674 | 674 | */ |
675 | 675 | function give_confirm_email_for_donation_access() { |
676 | 676 |