@@ -18,7 +18,7 @@ |
||
18 | 18 | * @param string $url_orig Original URL. |
19 | 19 | * @param array $url_info Pieces of original URL. |
20 | 20 | * |
21 | - * @return bool |
|
21 | + * @return false|string |
|
22 | 22 | */ |
23 | 23 | function jetpack_no_qtranslate_rest_url_redirect( $url_lang, $url_orig, $url_info ) { |
24 | 24 | if ( false !== strpos( $url_info['wp-path'], 'wp-json/jetpack' ) ) { |
@@ -66,7 +66,7 @@ |
||
66 | 66 | * Add a callback for WooCommerce product rendering in infinite scroll. |
67 | 67 | * |
68 | 68 | * @param array $callbacks Array of render callpacks for IS. |
69 | - * @return array |
|
69 | + * @return string[] |
|
70 | 70 | */ |
71 | 71 | function jetpack_woocommerce_infinite_scroll_render_callback( $callbacks ) { |
72 | 72 | $callbacks[] = 'jetpack_woocommerce_infinite_scroll_render'; |
@@ -224,7 +224,7 @@ discard block |
||
224 | 224 | * |
225 | 225 | * @param string $table Table name to validate. |
226 | 226 | * |
227 | - * @return mixed|string |
|
227 | + * @return string |
|
228 | 228 | * @throws Exception Throw an exception on validation failure. |
229 | 229 | */ |
230 | 230 | private function validate_table_name( $table ) { |
@@ -482,7 +482,7 @@ discard block |
||
482 | 482 | * @param int|null $range_to The end of the range. |
483 | 483 | * @param int|null $limit How many values to return. |
484 | 484 | * |
485 | - * @return array|object|void |
|
485 | + * @return boolean |
|
486 | 486 | * @throws Exception Throws an exception if validation fails on the internal function calls. |
487 | 487 | */ |
488 | 488 | public function get_range_edges( $range_from = null, $range_to = null, $limit = null ) { |
@@ -64,8 +64,8 @@ |
||
64 | 64 | * Get a single Meta Result. |
65 | 65 | * |
66 | 66 | * @param string $object_type post, comment, term, user. |
67 | - * @param null $id Object ID. |
|
68 | - * @param null $meta_key Meta Key. |
|
67 | + * @param integer $id Object ID. |
|
68 | + * @param string $meta_key Meta Key. |
|
69 | 69 | * |
70 | 70 | * @return mixed|null |
71 | 71 | */ |