Completed
Push — update/unistall-delete-more ( 75d521...0893cf )
by
unknown
44:09 queued 35:28
created
json-endpoints/class.wpcom-json-api-site-user-endpoint.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -63,6 +63,7 @@
 block discarded – undo
63 63
 	/**
64 64
 	 * Updates user data
65 65
 	 *
66
+	 * @param integer $user_id
66 67
 	 * @return array
67 68
 	 */
68 69
 	public function update_user( $user_id, $blog_id ) {
Please login to merge, or discard this patch.
class.jetpack-xmlrpc-server.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -242,6 +242,7 @@
 block discarded – undo
242 242
 	/**
243 243
 	 * Returns the current error as an IXR_Error
244 244
 	 *
245
+	 * @param string $tracks_event_name
245 246
 	 * @return bool|IXR_Error
246 247
 	 */
247 248
 	function error( $error = null, $tracks_event_name = null, $user = null ) {
Please login to merge, or discard this patch.
modules/masterbar/masterbar.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -125,6 +125,9 @@  discard block
 block discarded – undo
125 125
 		wp_enqueue_script( 'a8c_wpcom_masterbar_overrides', $this->wpcom_static_url( '/wp-content/mu-plugins/admin-bar/masterbar-overrides/masterbar.js' ), array( 'jquery' ), JETPACK__VERSION );
126 126
 	}
127 127
 
128
+	/**
129
+	 * @param string $file
130
+	 */
128 131
 	function wpcom_static_url( $file ) {
129 132
 		if ( ! empty( $this->sandbox_url ) ) {
130 133
 			// For testing undeployed changes to remotely enqueued scripts and styles.
@@ -307,6 +310,9 @@  discard block
 block discarded – undo
307 310
 		return $primary_anchor . $secondary_anchor;
308 311
 	}
309 312
 
313
+	/**
314
+	 * @param string $class
315
+	 */
310 316
 	public function create_menu_item_anchor( $class, $url, $label, $id ) {
311 317
 		return '<a href="' . $url . '" class="' . $class . '" id="' . $id . '">' . $label . '</a>';
312 318
 	}
Please login to merge, or discard this patch.
class.jetpack-options.php 1 patch
Doc Comments   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 	 *
17 17
 	 * @param string $type The type of option to return. Defaults to 'compact'.
18 18
 	 *
19
-	 * @return array
19
+	 * @return string[]
20 20
 	 */
21 21
 	public static function get_option_names( $type = 'compact' ) {
22 22
 		switch ( $type ) {
@@ -197,6 +197,9 @@  discard block
 block discarded – undo
197 197
 		return $value;
198 198
 	}
199 199
 
200
+	/**
201
+	 * @param string $name
202
+	 */
200 203
 	private static function update_grouped_option( $group, $name, $value ) {
201 204
 		$options = get_option( self::$grouped_options[ $group ] );
202 205
 		if ( ! is_array( $options ) ) {
@@ -299,6 +302,9 @@  discard block
 block discarded – undo
299 302
 		return $result;
300 303
 	}
301 304
 
305
+	/**
306
+	 * @param string $name
307
+	 */
302 308
 	private static function get_grouped_option( $group, $name, $default ) {
303 309
 		$options = get_option( self::$grouped_options[ $group ] );
304 310
 		if ( is_array( $options ) && isset( $options[ $name ] ) ) {
@@ -410,7 +416,7 @@  discard block
 block discarded – undo
410 416
 	 * @since 5.4.0
411 417
 	 *
412 418
 	 * @param boolean $strip_unsafe_options If true, and by default, will strip out options necessary for the connection to WordPress.com.
413
-	 * @return array An array of all options managed via the Jetpack_Options class.
419
+	 * @return string[] An array of all options managed via the Jetpack_Options class.
414 420
 	 */
415 421
 	static function get_all_jetpack_options( $strip_unsafe_options = true ) {
416 422
 		$jetpack_options            = self::get_option_names();
@@ -453,7 +459,7 @@  discard block
 block discarded – undo
453 459
 	 *
454 460
 	 * @since 5.4.0
455 461
 	 *
456
-	 * @return array
462
+	 * @return string[]
457 463
 	 */
458 464
 	static function get_all_wp_options() {
459 465
 		// A manual build of the wp options
Please login to merge, or discard this patch.