@@ -405,7 +405,7 @@ discard block |
||
| 405 | 405 | * |
| 406 | 406 | * @param int|bool $payment_id A given payment. |
| 407 | 407 | * |
| 408 | - * @return mixed void|false |
|
| 408 | + * @return false|null void|false |
|
| 409 | 409 | */ |
| 410 | 410 | public function __construct( $payment_id = false ) { |
| 411 | 411 | |
@@ -1174,7 +1174,7 @@ discard block |
||
| 1174 | 1174 | * |
| 1175 | 1175 | * @param string|bool $note The note to add. |
| 1176 | 1176 | * |
| 1177 | - * @return bool If the note was specified or not |
|
| 1177 | + * @return false|null If the note was specified or not |
|
| 1178 | 1178 | */ |
| 1179 | 1179 | public function add_note( $note = false ) { |
| 1180 | 1180 | // Bail if no note specified. |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | * |
| 25 | 25 | * @throws ReflectionException Exception Handling. |
| 26 | 26 | * |
| 27 | - * @return mixed |
|
| 27 | + * @return false|null |
|
| 28 | 28 | */ |
| 29 | 29 | function give_process_donation_form() { |
| 30 | 30 | |
@@ -1328,7 +1328,7 @@ discard block |
||
| 1328 | 1328 | * |
| 1329 | 1329 | * @param array $valid_data List of Valid Data. |
| 1330 | 1330 | * |
| 1331 | - * @return bool |
|
| 1331 | + * @return boolean|null |
|
| 1332 | 1332 | */ |
| 1333 | 1333 | function give_validate_donation_amount( $valid_data ) { |
| 1334 | 1334 | |
@@ -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 ); |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | * @param WP_REST_Request $request |
| 154 | 154 | * |
| 155 | 155 | * @access public |
| 156 | - * @return array|mixed|object |
|
| 156 | + * @return string|null |
|
| 157 | 157 | */ |
| 158 | 158 | public function get_donation_grid( $request ) { |
| 159 | 159 | $parameters = $request->get_params(); |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | * @param WP_REST_Request $request |
| 168 | 168 | * |
| 169 | 169 | * @access public |
| 170 | - * @return array|mixed|object |
|
| 170 | + * @return string|boolean |
|
| 171 | 171 | */ |
| 172 | 172 | public function get_donor_wall( $request ) { |
| 173 | 173 | $parameters = $request->get_params(); |
@@ -546,7 +546,7 @@ |
||
| 546 | 546 | |
| 547 | 547 | /** |
| 548 | 548 | * @param $option_value |
| 549 | - * @param $value |
|
| 549 | + * @param boolean $value |
|
| 550 | 550 | * |
| 551 | 551 | * @return string |
| 552 | 552 | */ |
@@ -555,10 +555,10 @@ discard block |
||
| 555 | 555 | * |
| 556 | 556 | * @since 2.1 |
| 557 | 557 | * |
| 558 | - * @param $file_dir |
|
| 559 | - * @param $start |
|
| 560 | - * @param $end |
|
| 561 | - * @param $delimiter |
|
| 558 | + * @param false|string $file_dir |
|
| 559 | + * @param integer $start |
|
| 560 | + * @param integer $end |
|
| 561 | + * @param string $delimiter |
|
| 562 | 562 | * |
| 563 | 563 | * @return array |
| 564 | 564 | */ |
@@ -584,7 +584,7 @@ discard block |
||
| 584 | 584 | * |
| 585 | 585 | * @since 2.1 |
| 586 | 586 | * |
| 587 | - * @param $file_id |
|
| 587 | + * @param integer $file_id |
|
| 588 | 588 | * |
| 589 | 589 | * @return false|string file content |
| 590 | 590 | */ |
@@ -638,7 +638,7 @@ |
||
| 638 | 638 | * @since 2.4.0 |
| 639 | 639 | * @access public |
| 640 | 640 | * |
| 641 | - * @param $query_var |
|
| 641 | + * @param string $query_var |
|
| 642 | 642 | * @param $value |
| 643 | 643 | */ |
| 644 | 644 | public function __set( $query_var, $value ) { |
@@ -674,7 +674,7 @@ |
||
| 674 | 674 | * |
| 675 | 675 | * @since 1.8 |
| 676 | 676 | * |
| 677 | - * @param $size |
|
| 677 | + * @param string $size |
|
| 678 | 678 | * |
| 679 | 679 | * @return int |
| 680 | 680 | */ |
@@ -124,7 +124,7 @@ |
||
| 124 | 124 | * @param string $email_preview_header |
| 125 | 125 | * @param Give_Donor_Register_Email $email |
| 126 | 126 | * |
| 127 | - * @return bool |
|
| 127 | + * @return string|null |
|
| 128 | 128 | * @since 2.0 |
| 129 | 129 | * @access public |
| 130 | 130 | */ |