@@ -506,7 +506,7 @@ |
||
| 506 | 506 | * |
| 507 | 507 | * @param string $main_file Plugin Main File. |
| 508 | 508 | * |
| 509 | - * @return bool|mixed|string |
|
| 509 | + * @return string |
|
| 510 | 510 | */ |
| 511 | 511 | public function get_plugin_folder_name( $main_file ) { |
| 512 | 512 | // Remove plugin file and get the Add-on's folder name only. |
@@ -259,7 +259,7 @@ |
||
| 259 | 259 | * @access public |
| 260 | 260 | * @since 1.0 |
| 261 | 261 | * |
| 262 | - * @return mixed string If search is present, false otherwise. |
|
| 262 | + * @return string|false string If search is present, false otherwise. |
|
| 263 | 263 | */ |
| 264 | 264 | public function get_search() { |
| 265 | 265 | return ! empty( $_GET['s'] ) ? urldecode( trim( $_GET['s'] ) ) : false; |
@@ -21,7 +21,7 @@ discard block |
||
| 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 | |
@@ -434,7 +434,7 @@ discard block |
||
| 434 | 434 | * |
| 435 | 435 | * @since 1.7 |
| 436 | 436 | * |
| 437 | - * @return bool|null |
|
| 437 | + * @return false|null |
|
| 438 | 438 | */ |
| 439 | 439 | function give_remove_donor_email() { |
| 440 | 440 | if ( empty( $_GET['id'] ) || ! is_numeric( $_GET['id'] ) ) { |
@@ -478,7 +478,7 @@ discard block |
||
| 478 | 478 | * |
| 479 | 479 | * @since 1.7 |
| 480 | 480 | * |
| 481 | - * @return bool|null |
|
| 481 | + * @return false|null |
|
| 482 | 482 | */ |
| 483 | 483 | function give_set_donor_primary_email() { |
| 484 | 484 | if ( empty( $_GET['id'] ) || ! is_numeric( $_GET['id'] ) ) { |
@@ -645,7 +645,7 @@ |
||
| 645 | 645 | * |
| 646 | 646 | * @param int $form_id |
| 647 | 647 | * |
| 648 | - * @return array|string |
|
| 648 | + * @return string |
|
| 649 | 649 | */ |
| 650 | 650 | public function get_preview_email_recipient( $form_id = null ) { |
| 651 | 651 | $recipients = $this->get_recipient( $form_id ); |
@@ -232,7 +232,7 @@ discard block |
||
| 232 | 232 | * |
| 233 | 233 | * @since 2.0 |
| 234 | 234 | * @access public |
| 235 | - * @return bool|null |
|
| 235 | + * @return false|null |
|
| 236 | 236 | */ |
| 237 | 237 | public function preview_email() { |
| 238 | 238 | // Bailout. |
@@ -371,7 +371,7 @@ discard block |
||
| 371 | 371 | * |
| 372 | 372 | * @since 2.0 |
| 373 | 373 | * @access public |
| 374 | - * @return bool|null |
|
| 374 | + * @return false|null |
|
| 375 | 375 | */ |
| 376 | 376 | public function send_preview_email() { |
| 377 | 377 | // Bailout. |
@@ -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; |
@@ -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 ); |