Completed
Push — update/chunks ( f08880...2bc5f1 )
by
unknown
20:17 queued 09:40
created
_inc/lib/class.core-rest-api-endpoints.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -691,7 +691,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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' ) ) {
Please login to merge, or discard this patch.