@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | /** |
224 | 224 | * Retrieve Payment Key of the History Access Session. |
225 | 225 | * |
226 | - * @return array|string |
|
226 | + * @return boolean |
|
227 | 227 | * @since 1.8.17 |
228 | 228 | */ |
229 | 229 | function give_get_history_session() { |
@@ -520,7 +520,7 @@ discard block |
||
520 | 520 | /** |
521 | 521 | * Show Donation Forms Post Type in Appearance > Menus by default on fresh install. |
522 | 522 | * |
523 | - * @return bool |
|
523 | + * @return false|null |
|
524 | 524 | * @todo Remove this, when WordPress Core ticket is resolved (https://core.trac.wordpress.org/ticket/16828). |
525 | 525 | * |
526 | 526 | * @since 1.8.14 |
@@ -861,7 +861,7 @@ discard block |
||
861 | 861 | /** |
862 | 862 | * Check if terms enabled or not for form. |
863 | 863 | * |
864 | - * @param $form_id |
|
864 | + * @param integer $form_id |
|
865 | 865 | * |
866 | 866 | * @return bool |
867 | 867 | * @since 1.8 |
@@ -983,7 +983,7 @@ discard block |
||
983 | 983 | * @param int $id |
984 | 984 | * @param string $meta_key |
985 | 985 | * @param mixed $meta_value |
986 | - * @param mixed $prev_value |
|
986 | + * @param string $prev_value |
|
987 | 987 | * @param string $meta_type |
988 | 988 | * |
989 | 989 | * @return mixed |
@@ -1270,7 +1270,7 @@ discard block |
||
1270 | 1270 | * array_column() (PHP 5.5) but also supports objects. |
1271 | 1271 | * |
1272 | 1272 | * @param array $list List of objects or arrays |
1273 | - * @param int|string $field Field from the object to place instead of the entire object |
|
1273 | + * @param string $field Field from the object to place instead of the entire object |
|
1274 | 1274 | * @param int|string $index_key Optional. Field from the object to use as keys for the new array. |
1275 | 1275 | * Default null. |
1276 | 1276 | * |
@@ -2217,7 +2217,7 @@ discard block |
||
2217 | 2217 | * |
2218 | 2218 | * @param $args |
2219 | 2219 | * |
2220 | - * @return bool|mixed |
|
2220 | + * @return string|null |
|
2221 | 2221 | * @since 2.4.1 |
2222 | 2222 | */ |
2223 | 2223 | function give_display_donation_receipt( $args ) { |
@@ -2320,7 +2320,7 @@ discard block |
||
2320 | 2320 | * @param $plugin_slug |
2321 | 2321 | * @param bool $by_plugin_name |
2322 | 2322 | * |
2323 | - * @return mixed|void |
|
2323 | + * @return string |
|
2324 | 2324 | * @since 2.5.0 |
2325 | 2325 | */ |
2326 | 2326 | function give_get_addon_readme_url( $plugin_slug, $by_plugin_name = false ) { |