@@ -1283,7 +1283,7 @@ |
||
1283 | 1283 | * Returns an array of stock and custom taxonomy query vars |
1284 | 1284 | * |
1285 | 1285 | * @global $wp_taxonomies |
1286 | - * @return array |
|
1286 | + * @return string[] |
|
1287 | 1287 | */ |
1288 | 1288 | function get_taxonomy_vars() { |
1289 | 1289 | global $wp_taxonomies; |
@@ -691,7 +691,7 @@ discard block |
||
691 | 691 | * |
692 | 692 | * @since 4.1.0 |
693 | 693 | * |
694 | - * @return array Array of Jetpack modules. |
|
694 | + * @return string Array of Jetpack modules. |
|
695 | 695 | */ |
696 | 696 | public static function get_modules() { |
697 | 697 | require_once( JETPACK__PLUGIN_DIR . 'class.jetpack-admin.php' ); |
@@ -2281,7 +2281,7 @@ discard block |
||
2281 | 2281 | * |
2282 | 2282 | * @param string $route Regular expression for the endpoint with the module slug to return. |
2283 | 2283 | * |
2284 | - * @return array |
|
2284 | + * @return string |
|
2285 | 2285 | */ |
2286 | 2286 | public static function get_module_requested( $route ) { |
2287 | 2287 | |
@@ -2306,7 +2306,7 @@ discard block |
||
2306 | 2306 | * @param string $modules Can be a single module or a list of modules. |
2307 | 2307 | * @param null|string $slug Slug of the module in the first parameter. |
2308 | 2308 | * |
2309 | - * @return array |
|
2309 | + * @return string |
|
2310 | 2310 | */ |
2311 | 2311 | public static function prepare_modules_for_response( $modules = '', $slug = null ) { |
2312 | 2312 | if ( get_option( 'permalink_structure' ) ) { |