Test Failed
Push — master ( 5c367d...c1a3f2 )
by
unknown
04:20
created
geodirectory-functions/custom_functions.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
  * @param object|string $post The post object.
162 162
  * @param string $post_type   The post type.
163 163
  *
164
- * @return object Returns filtered package info as an object.
164
+ * @return string Returns filtered package info as an object.
165 165
  */
166 166
 function geodir_post_package_info( $package_info, $post = '', $post_type = '' ) {
167 167
 	$package_info['pid']              = 0;
@@ -2489,7 +2489,7 @@  discard block
 block discarded – undo
2489 2489
  *
2490 2490
  * @since 1.5.0
2491 2491
  *
2492
- * @return True if WPML is active else False.
2492
+ * @return boolean if WPML is active else False.
2493 2493
  */
2494 2494
 function geodir_is_wpml() {
2495 2495
     if (function_exists('icl_object_id')) {
@@ -2561,7 +2561,6 @@  discard block
 block discarded – undo
2561 2561
  * @since 1.6.16 Sync reviews if sync comments allowed.
2562 2562
  *
2563 2563
  * @param int $post_id The Post ID.
2564
- * @param string $lang Language code for translating post.
2565 2564
  * @param array $request_info The post details in an array.
2566 2565
  */
2567 2566
 function geodir_wpml_duplicate_listing($post_id, $request_info) {
@@ -2645,7 +2644,7 @@  discard block
 block discarded – undo
2645 2644
  * @param int $master_post_id Original Post ID.
2646 2645
  * @param int $tr_post_id Translation Post ID.
2647 2646
  * @param string $lang Language code for translating post.
2648
- * @return bool True for success, False for fail.
2647
+ * @return boolean|null True for success, False for fail.
2649 2648
  */
2650 2649
 function geodir_icl_duplicate_taxonomies($master_post_id, $tr_post_id, $lang) {
2651 2650
     global $sitepress, $wpdb;
Please login to merge, or discard this patch.