@@ -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; |
@@ -248,6 +248,11 @@ discard block |
||
| 248 | 248 | ) ); |
| 249 | 249 | } |
| 250 | 250 | |
| 251 | + /** |
|
| 252 | + * @param string $path |
|
| 253 | + * @param string $classname |
|
| 254 | + * @param Jetpack_IXR_Client $constructor_arguments |
|
| 255 | + */ |
|
| 251 | 256 | public static function route( $path, $classname, $method, |
| 252 | 257 | $constructor_arguments = NULL, |
| 253 | 258 | $endpoint_arguments = NULL |
@@ -1744,7 +1749,7 @@ discard block |
||
| 1744 | 1749 | * |
| 1745 | 1750 | * @param string $route Regular expression for the endpoint with the module slug to return. |
| 1746 | 1751 | * |
| 1747 | - * @return array |
|
| 1752 | + * @return string |
|
| 1748 | 1753 | */ |
| 1749 | 1754 | public static function get_module_requested( $route ) { |
| 1750 | 1755 | |
@@ -1769,7 +1774,7 @@ discard block |
||
| 1769 | 1774 | * @param string $modules Can be a single module or a list of modules. |
| 1770 | 1775 | * @param null|string $slug Slug of the module in the first parameter. |
| 1771 | 1776 | * |
| 1772 | - * @return array |
|
| 1777 | + * @return string |
|
| 1773 | 1778 | */ |
| 1774 | 1779 | public static function prepare_modules_for_response( $modules = '', $slug = null ) { |
| 1775 | 1780 | if ( get_option( 'permalink_structure' ) ) { |