@@ -273,6 +273,11 @@ discard block |
||
| 273 | 273 | ) ); |
| 274 | 274 | } |
| 275 | 275 | |
| 276 | + /** |
|
| 277 | + * @param string $path |
|
| 278 | + * @param string $classname |
|
| 279 | + * @param Jetpack_IXR_Client $constructor_arguments |
|
| 280 | + */ |
|
| 276 | 281 | public static function route( $path, $classname, $method, |
| 277 | 282 | $constructor_arguments = NULL, |
| 278 | 283 | $endpoint_arguments = NULL |
@@ -1962,7 +1967,7 @@ discard block |
||
| 1962 | 1967 | * |
| 1963 | 1968 | * @param string $route Regular expression for the endpoint with the module slug to return. |
| 1964 | 1969 | * |
| 1965 | - * @return array |
|
| 1970 | + * @return string |
|
| 1966 | 1971 | */ |
| 1967 | 1972 | public static function get_module_requested( $route = '/module/(?P<slug>[a-z\-]+)' ) { |
| 1968 | 1973 | |