Completed
Push — add/react-videopress-settings ( 0e3d99...2de6fa )
by
unknown
768:38 queued 751:35
created
_inc/lib/class.core-rest-api-endpoints.php 1 patch
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -248,6 +248,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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' ) ) {
Please login to merge, or discard this patch.
_inc/lib/core-api/class.jetpack-core-api-module-endpoints.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
 	 *
177 177
 	 * @since 4.3.0
178 178
 	 *
179
-	 * @return array Array of Jetpack modules.
179
+	 * @return string Array of Jetpack modules.
180 180
 	 */
181 181
 	public function get_modules() {
182 182
 		require_once( JETPACK__PLUGIN_DIR . 'class.jetpack-admin.php' );
@@ -1104,7 +1104,6 @@  discard block
 block discarded – undo
1104 1104
 	 *
1105 1105
 	 * @since 4.3.0
1106 1106
 	 *
1107
-	 * @param WP_REST_Request $request
1108 1107
 	 *
1109 1108
 	 * @return bool does a current user have enough privileges.
1110 1109
 	 */
Please login to merge, or discard this patch.