Completed
Push — add/premium-content-block ( 8589ee...03f698 )
by
unknown
371:55 queued 363:09
created
packages/connection/tests/php/test_Signature.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -220,7 +220,7 @@
 block discarded – undo
220 220
 	 * Also used by @see self::test_request_port_constants
221 221
 	 *
222 222
 	 * @param mixed   $http_x_forwarded_port value of $_SERVER[ 'HTTP_X_FORWARDED_PORT' ].
223
-	 * @param mixed   $server_port value of $_SERVER[ 'SERVER_PORT' ]. Null will unset the value.
223
+	 * @param string   $server_port value of $_SERVER[ 'SERVER_PORT' ]. Null will unset the value.
224 224
 	 * @param string  $expeceted The expected output. Null will unset the value.
225 225
 	 * @param boolean $ssl Whether to consider current request using SSL or not.
226 226
 	 *
Please login to merge, or discard this patch.
modules/widgets/milestone/class-milestone-widget.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -595,7 +595,7 @@
 block discarded – undo
595 595
 	 *
596 596
 	 * @param array $dirty Unsantized data for the widget.
597 597
 	 *
598
-	 * @return array Santized data.
598
+	 * @return integer Santized data.
599 599
 	 */
600 600
 	public function sanitize_instance( $dirty ) {
601 601
 		$now = (int) current_time( 'timestamp' ); // phpcs:ignore WordPress.DateTime.CurrentTimeTimestamp.Requested
Please login to merge, or discard this patch.
_inc/subscription-service/class-token-subscription-service.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
 	/**
150 150
 	 * Get the token stored in the auth cookie.
151 151
 	 *
152
-	 * @return ?string
152
+	 * @return string
153 153
 	 */
154 154
 	private function token_from_cookie() {
155 155
 		if ( isset( $_COOKIE[ self::JWT_AUTH_TOKEN_COOKIE_NAME ] ) ) {
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
@@ -228,7 +228,7 @@
 block discarded – undo
228 228
  *
229 229
  * @param string $notify_moderator The value of the moderation_notify option.
230 230
  * @param int    $comment_id Comment ID.
231
- * @return boolean Returns false to shortcircuit the execution of wp_notify_moderator
231
+ * @return string|false Returns false to shortcircuit the execution of wp_notify_moderator
232 232
  */
233 233
 function jetpack_notify_moderator( $notify_moderator, $comment_id ) {
234 234
 
Please login to merge, or discard this patch.
packages/status/tests/php/test-status.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -294,7 +294,7 @@
 block discarded – undo
294 294
 	/**
295 295
 	 * Mock $wpdb->get_var() and make it return a certain value.
296 296
 	 *
297
-	 * @param mixed $return_value  Return value of the function.
297
+	 * @param integer $return_value  Return value of the function.
298 298
 	 *
299 299
 	 * PHPUnit\Framework\MockObject\MockObject The mock object.
300 300
 	 */
Please login to merge, or discard this patch.
extensions/blocks/premium-content/_inc/subscription-service/class-jwt.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@
 block discarded – undo
186 186
 	 * Sign a string with a given key and algorithm.
187 187
 	 *
188 188
 	 * @param string          $msg    The message to sign.
189
-	 * @param string|resource $key    The secret key.
189
+	 * @param string $key    The secret key.
190 190
 	 * @param string          $alg    The signing algorithm.
191 191
 	 *                                Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'.
192 192
 	 *
Please login to merge, or discard this patch.