Test Failed
Push — master ( f4744b...6b2433 )
by
unknown
04:20
created
geodirectory-functions/custom_functions.php 1 patch
Doc Comments   +3 added lines, -3 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')) {
@@ -2620,7 +2620,7 @@  discard block
 block discarded – undo
2620 2620
  * @param int $master_post_id Original Post ID.
2621 2621
  * @param int $tr_post_id Translation Post ID.
2622 2622
  * @param string $lang Language code for translating post.
2623
- * @return bool True for success, False for fail.
2623
+ * @return boolean|null True for success, False for fail.
2624 2624
  */
2625 2625
 function geodir_icl_duplicate_taxonomies($master_post_id, $tr_post_id, $lang) {
2626 2626
     global $sitepress, $wpdb;
Please login to merge, or discard this patch.