@@ -721,7 +721,7 @@ discard block |
||
721 | 721 | * @param int $post_id The post ID. |
722 | 722 | * @param string $postmeta Detail table column name. |
723 | 723 | * @param string $meta_value Detail table column value. |
724 | - * @return void|bool |
|
724 | + * @return null|false |
|
725 | 725 | */ |
726 | 726 | function geodir_save_post_meta($post_id, $postmeta = '', $meta_value = '') |
727 | 727 | { |
@@ -775,7 +775,7 @@ discard block |
||
775 | 775 | * @param string $postmeta Detail table column name. |
776 | 776 | * @todo check if this is depreciated |
777 | 777 | * @todo Fix unknown variable mval |
778 | - * @return bool |
|
778 | + * @return boolean|null |
|
779 | 779 | */ |
780 | 780 | function geodir_delete_post_meta($post_id, $postmeta) |
781 | 781 | { |
@@ -2124,7 +2124,7 @@ discard block |
||
2124 | 2124 | * @global string $plugin_prefix Geodirectory plugin table prefix. |
2125 | 2125 | * @param int $deleted_postid The post ID. |
2126 | 2126 | * @param bool $force Optional. Do you want to force delete it? Default: false. |
2127 | - * @return bool|void |
|
2127 | + * @return null|false |
|
2128 | 2128 | */ |
2129 | 2129 | function geodir_delete_listing_info($deleted_postid, $force = false) |
2130 | 2130 | { |
@@ -2693,7 +2693,7 @@ discard block |
||
2693 | 2693 | * @since 1.0.0 |
2694 | 2694 | * @package GeoDirectory |
2695 | 2695 | * @global object $current_user Current user object. |
2696 | - * @param int|string $listing_id The post ID. |
|
2696 | + * @param integer $listing_id The post ID. |
|
2697 | 2697 | * @param bool $exclude_admin Optional. Do you want to exclude admin from the check?. Default true. |
2698 | 2698 | * @return bool |
2699 | 2699 | */ |