Completed
Push — feature/determine_email_change ( 1a6909...fa2038 )
by
unknown
48:38 queued 38:41
created
json-endpoints/jetpack/class.jetpack-json-api-plugins-modify-endpoint.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -139,6 +139,9 @@
 block discarded – undo
139 139
 		}
140 140
 	}
141 141
 
142
+	/**
143
+	 * @param string $capability
144
+	 */
142 145
 	protected function current_user_can( $capability, $plugin = null ) {
143 146
 		global $wp_version;
144 147
 		if ( version_compare( $wp_version, '4.9-beta2' ) >= 0 ) {
Please login to merge, or discard this patch.
modules/google-analytics/classes/wp-google-analytics-options.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -15,6 +15,10 @@
 block discarded – undo
15 15
 }
16 16
 
17 17
 class Jetpack_Google_Analytics_Options {
18
+
19
+	/**
20
+	 * @param string $option_name
21
+	 */
18 22
 	public static function get_option( $option_name, $default = false ) {
19 23
 		$o = get_option( 'jetpack_wga' );
20 24
 		return isset( $o[ $option_name ] ) ? $o[ $option_name ] : $default;
Please login to merge, or discard this patch.
modules/protect/blocked-login-page.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -326,6 +326,9 @@
 block discarded – undo
326 326
 		return $contents;
327 327
 	}
328 328
 
329
+	/**
330
+	 * @param string $message
331
+	 */
329 332
 	function display_page( $title, $message, $back_button = false, $recovery_form = false ) {
330 333
 
331 334
 		if ( ! headers_sent() ) {
Please login to merge, or discard this patch.
modules/widgets/goodreads.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -87,6 +87,9 @@
 block discarded – undo
87 87
 		echo $args['after_widget'];
88 88
 	}
89 89
 
90
+	/**
91
+	 * @param string $user_id
92
+	 */
90 93
 	function goodreads_user_id_exists( $user_id ) {
91 94
 		$url = "https://www.goodreads.com/user/show/$user_id/";
92 95
 		$response = wp_remote_head( $url, array( 'httpversion' => '1.1', 'timeout' => 3, 'redirection' => 2 ) );
Please login to merge, or discard this patch.
sync/class.jetpack-sync-module-users.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -94,6 +94,9 @@
 block discarded – undo
94 94
 		return $user;
95 95
 	}
96 96
 
97
+	/**
98
+	 * @param WP_User|null $user
99
+	 */
97 100
 	public function expand_user( $user ) {
98 101
 		if ( ! is_object( $user ) ) {
99 102
 			return null;
Please login to merge, or discard this patch.
_inc/lib/functions.wp-notify.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@
 block discarded – undo
201 201
 	 * should be notified, overriding the site setting.
202 202
 	 *
203 203
 	 * @param int $comment_id Comment ID.
204
-	 * @return true Always returns true.
204
+	 * @return boolean Always returns true.
205 205
 	 */
206 206
 	function wp_notify_moderator( $comment_id ) {
207 207
 		global $wpdb;
Please login to merge, or discard this patch.
_inc/lib/jetpack-wpes-query-builder/jetpack-wpes-query-parser.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -147,6 +147,10 @@
 block discarded – undo
147 147
 	 * Take a list of field prefixes and expand them for multi-lingual
148 148
 	 * with the provided boostings.
149 149
 	 */
150
+
151
+	/**
152
+	 * @param string[] $additional_fields
153
+	 */
150 154
 	public function merge_ml_fields( $fields2boosts, $additional_fields ) {
151 155
 		$flds = array();
152 156
 		foreach( $fields2boosts as $f => $b ) {
Please login to merge, or discard this patch.
_inc/lib/class.jetpack-search-performance-logger.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -58,6 +58,10 @@
 block discarded – undo
58 58
 		return $query->is_main_query() && $query->is_search();
59 59
 	}
60 60
 
61
+	/**
62
+	 * @param double $duration
63
+	 * @param boolean $was_jetpack_search
64
+	 */
61 65
 	private function record_query_time( $duration, $was_jetpack_search ) {
62 66
 		$this->stats[] = array( $was_jetpack_search, intval( $duration * 1000 ) );
63 67
 	}
Please login to merge, or discard this patch.
modules/search/class.jetpack-search-helpers.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,6 @@
 block discarded – undo
76 76
 	 * @since 5.8.0
77 77
 	 *
78 78
 	 * @param string|array $key   Query key or keys to remove.
79
-	 * @param bool|string  $query Optional. A URL to act upon.  Defaults to the current search URL.
80 79
 	 *
81 80
 	 * @return string New URL query string (unescaped).
82 81
 	 */
Please login to merge, or discard this patch.