Completed
Push — update/story-improvements ( 690b68...e89250 )
by
unknown
135:59 queued 125:59
created
projects/plugins/beta/class-jetpack-beta-admin.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -729,6 +729,7 @@
 block discarded – undo
729 729
 	 *
730 730
 	 * @param string $branch - Branch that's ready for update.
731 731
 	 * @param string $section - What kind of branch we're updated (master, rc, pr).
732
+	 * @return string
732 733
 	 */
733 734
 	public static function update_action_url( $branch, $section ) {
734 735
 		$query = array(
Please login to merge, or discard this patch.
projects/plugins/jetpack/_inc/lib/functions.wp-notify.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@
 block discarded – undo
229 229
  *
230 230
  * @param string $notify_moderator The value of the moderation_notify option OR if the comment is awaiting moderation.
231 231
  * @param int    $comment_id Comment ID.
232
- * @return boolean Returns false to shortcircuit the execution of wp_notify_moderator
232
+ * @return string|false Returns false to shortcircuit the execution of wp_notify_moderator
233 233
  */
234 234
 function jetpack_notify_moderator( $notify_moderator, $comment_id ) {
235 235
 	/*
Please login to merge, or discard this patch.
projects/packages/autoloader/src/CustomAutoloaderPlugin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
 	/**
169 169
 	 * Checks to see whether or not the root package is the one that required the autoloader.
170 170
 	 *
171
-	 * @return bool
171
+	 * @return null|boolean
172 172
 	 */
173 173
 	private function isRequiredByRoot() {
174 174
 		$package  = $this->composer->getPackage();
Please login to merge, or discard this patch.
projects/plugins/jetpack/modules/memberships/class-jetpack-memberships.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
 	 * @param array $post_types - other post types.
194 194
 	 *
195 195
 	 * @see hook 'rest_api_allowed_post_types'
196
-	 * @return array
196
+	 * @return string[]
197 197
 	 */
198 198
 	public function allow_rest_api_types( $post_types ) {
199 199
 		$post_types[] = self::$post_type_plan;
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
 	 * (because it requires a plan upgrade or Stripe connection), and the
255 255
 	 * button is a child of a Premium Content block.
256 256
 	 *
257
-	 * @param WP_Block $block Recurring Payments block instance.
257
+	 * @param WP_Block|null $block Recurring Payments block instance.
258 258
 	 *
259 259
 	 * @return boolean
260 260
 	 */
Please login to merge, or discard this patch.
projects/packages/connection/src/class-tokens.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -246,7 +246,7 @@
 block discarded – undo
246 246
 	 * @param int    $user_id The user id.
247 247
 	 * @param string $token The user token.
248 248
 	 * @param bool   $is_master_user Whether the user is the master user.
249
-	 * @return bool
249
+	 * @return boolean|null
250 250
 	 */
251 251
 	public function update_user_token( $user_id, $token, $is_master_user ) {
252 252
 		// Not designed for concurrent updates.
Please login to merge, or discard this patch.
projects/packages/connection/src/class-manager.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
 	/**
294 294
 	 * Verifies the signature of the current request.
295 295
 	 *
296
-	 * @return false|array
296
+	 * @return boolean
297 297
 	 */
298 298
 	public function verify_xml_rpc_signature() {
299 299
 		if ( is_null( $this->xmlrpc_verification ) ) {
@@ -1461,7 +1461,7 @@  discard block
 block discarded – undo
1461 1461
 	/**
1462 1462
 	 * Obtains the auth token.
1463 1463
 	 *
1464
-	 * @param array $data The request data.
1464
+	 * @param string $data The request data.
1465 1465
 	 * @return object|\WP_Error Returns the auth token on success.
1466 1466
 	 *                          Returns a \WP_Error on failure.
1467 1467
 	 */
@@ -2088,7 +2088,7 @@  discard block
 block discarded – undo
2088 2088
 	 * @deprecated 9.5 Use Automattic\Jetpack\Connection\Tokens->get_signed_token() instead.
2089 2089
 	 *
2090 2090
 	 * @param object $token the token.
2091
-	 * @return WP_Error|string a signed token
2091
+	 * @return string a signed token
2092 2092
 	 */
2093 2093
 	public function get_signed_token( $token ) {
2094 2094
 		_deprecated_function( __METHOD__, 'jetpack-9.5', 'Automattic\\Jetpack\\Connection\\Tokens->get_signed_token' );
Please login to merge, or discard this patch.
projects/plugins/jetpack/_inc/lib/class.jetpack-keyring-service-helper.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -136,6 +136,10 @@  discard block
 block discarded – undo
136 136
 		);
137 137
 	}
138 138
 
139
+	/**
140
+	 * @param string $service_name
141
+	 * @param string $for
142
+	 */
139 143
 	static function refresh_url( $service_name, $for ) {
140 144
 		return add_query_arg(
141 145
 			array(
@@ -150,6 +154,10 @@  discard block
 block discarded – undo
150 154
 		);
151 155
 	}
152 156
 
157
+	/**
158
+	 * @param string $service_name
159
+	 * @param string $id
160
+	 */
153 161
 	static function disconnect_url( $service_name, $id ) {
154 162
 		return add_query_arg(
155 163
 			array(
Please login to merge, or discard this patch.
projects/packages/password-checker/src/class-password-checker.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -281,7 +281,7 @@
 block discarded – undo
281 281
 	 * @param string $password  the password.
282 282
 	 * @param array  $test_data the current test data.
283 283
 	 *
284
-	 * @return bool does the test pass?
284
+	 * @return integer does the test pass?
285 285
 	 */
286 286
 	protected function test_preg_match( $password, $test_data ) {
287 287
 		return preg_match( $test_data['pattern'], $password );
Please login to merge, or discard this patch.
projects/packages/changelogger/lib/ChangeEntry.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
 	/**
166 166
 	 * Set the timestamp.
167 167
 	 *
168
-	 * @param DateTime|string $timestamp Timestamp to set.
168
+	 * @param string $timestamp Timestamp to set.
169 169
 	 * @returns $this
170 170
 	 * @throws InvalidArgumentException If an argument is invalid.
171 171
 	 */
Please login to merge, or discard this patch.