Completed
Push — branch-4.4 ( f9b1dc...ad783d )
by
unknown
273:05 queued 266:02
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
@@ -273,6 +273,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.