Completed
Push — rename/api-endpoints ( cca289 )
by
unknown
327:28 queued 316:12
created
_inc/lib/class.core-rest-api-endpoints.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -271,6 +271,11 @@  discard block
 block discarded – undo
271 271
 		) );
272 272
 	}
273 273
 
274
+	/**
275
+	 * @param string $path
276
+	 * @param string $classname
277
+	 * @param Jetpack_IXR_Client $arguments
278
+	 */
274 279
 	public static function route( $path, $classname, $method, $arguments = NULL ) {
275 280
 		if ( ! empty( $arguments ) ) {
276 281
 			$endpoint = new $classname( $arguments );
@@ -2283,7 +2288,7 @@  discard block
 block discarded – undo
2283 2288
 	 *
2284 2289
 	 * @param string $route Regular expression for the endpoint with the module slug to return.
2285 2290
 	 *
2286
-	 * @return array
2291
+	 * @return string
2287 2292
 	 */
2288 2293
 	public static function get_module_requested( $route ) {
2289 2294
 
Please login to merge, or discard this patch.