@@ -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(); |
@@ -403,7 +403,7 @@ |
||
403 | 403 | * @since 2.2.0 |
404 | 404 | * @access public |
405 | 405 | * |
406 | - * @return string|bool Formatted expiration date string. |
|
406 | + * @return string|false Formatted expiration date string. |
|
407 | 407 | */ |
408 | 408 | public function get_session_expiration() { |
409 | 409 | return $this->has_session() ? $this->session_expiration :false; |
@@ -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 ) { |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | * |
229 | 229 | * @since 1.8.17 |
230 | 230 | * |
231 | - * @return array|string |
|
231 | + * @return boolean |
|
232 | 232 | */ |
233 | 233 | function give_get_history_session() { |
234 | 234 | return (bool) Give()->session->get( 'history_access' ); |
@@ -704,7 +704,7 @@ discard block |
||
704 | 704 | * |
705 | 705 | * @todo Remove this, when WordPress Core ticket is resolved (https://core.trac.wordpress.org/ticket/16828). |
706 | 706 | * |
707 | - * @return bool |
|
707 | + * @return false|null |
|
708 | 708 | */ |
709 | 709 | function give_donation_metabox_menu() { |
710 | 710 | |
@@ -1013,7 +1013,7 @@ discard block |
||
1013 | 1013 | * |
1014 | 1014 | * @since 1.8 |
1015 | 1015 | * |
1016 | - * @param $form_id |
|
1016 | + * @param integer $form_id |
|
1017 | 1017 | * |
1018 | 1018 | * @return bool |
1019 | 1019 | */ |
@@ -1120,7 +1120,7 @@ discard block |
||
1120 | 1120 | * @param int $id |
1121 | 1121 | * @param string $meta_key |
1122 | 1122 | * @param mixed $meta_value |
1123 | - * @param mixed $prev_value |
|
1123 | + * @param string $prev_value |
|
1124 | 1124 | * |
1125 | 1125 | * @return mixed |
1126 | 1126 | */ |
@@ -1379,7 +1379,7 @@ discard block |
||
1379 | 1379 | * @since 1.8.13 |
1380 | 1380 | * |
1381 | 1381 | * @param array $list List of objects or arrays |
1382 | - * @param int|string $field Field from the object to place instead of the entire object |
|
1382 | + * @param string $field Field from the object to place instead of the entire object |
|
1383 | 1383 | * @param int|string $index_key Optional. Field from the object to use as keys for the new array. |
1384 | 1384 | * Default null. |
1385 | 1385 | * |
@@ -1817,7 +1817,7 @@ discard block |
||
1817 | 1817 | * |
1818 | 1818 | * @since 2.1 |
1819 | 1819 | * |
1820 | - * @param $form_id |
|
1820 | + * @param integer $form_id |
|
1821 | 1821 | * |
1822 | 1822 | * @return bool |
1823 | 1823 | */ |
@@ -2390,7 +2390,7 @@ discard block |
||
2390 | 2390 | * |
2391 | 2391 | * @since 2.4.1 |
2392 | 2392 | * |
2393 | - * @return bool|mixed |
|
2393 | + * @return string|null |
|
2394 | 2394 | */ |
2395 | 2395 | function give_display_donation_receipt( $args ) { |
2396 | 2396 |