Completed
Push — reorg/update-project ( 1d471c...78741b )
by
unknown
309:43 queued 297:51
created
projects/packages/connection/legacy/class-jetpack-ixr-clientmulticall.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@
 block discarded – undo
25 25
 	 * The rest of the arguments are the params specified to the method.
26 26
 	 *
27 27
 	 * @param string[] ...$args IXR args.
28
+	 * @param string $args
28 29
 	 */
29 30
 	public function addCall( ...$args ) {
30 31
 		$method_name   = array_shift( $args );
Please login to merge, or discard this patch.
projects/packages/connection/legacy/class-jetpack-signature.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
 	 * @param string $url              Request URL.
166 166
 	 * @param mixed  $body             Request body.
167 167
 	 * @param bool   $verify_body_hash Whether to verify the body hash against the body.
168
-	 * @return string|WP_Error Request signature, or a WP_Error on failure.
168
+	 * @return string Request signature, or a WP_Error on failure.
169 169
 	 */
170 170
 	public function sign_request( $token = '', $timestamp = 0, $nonce = '', $body_hash = '', $method = '', $url = '', $body = null, $verify_body_hash = true ) {
171 171
 		if ( ! $this->secret ) {
Please login to merge, or discard this patch.
projects/packages/connection/src/class-error-handler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -308,7 +308,7 @@
 block discarded – undo
308 308
 	 * @since 8.7.0
309 309
 	 *
310 310
 	 * @param array|string $data the data to be encoded.
311
-	 * @return boolean|string The encoded string on success, false on failure
311
+	 * @return false|string The encoded string on success, false on failure
312 312
 	 */
313 313
 	public function encrypt_data_to_wpcom( $data ) {
314 314
 
Please login to merge, or discard this patch.
projects/packages/connection/src/class-manager.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
 	/**
314 314
 	 * Verifies the signature of the current request.
315 315
 	 *
316
-	 * @return false|array
316
+	 * @return boolean
317 317
 	 */
318 318
 	public function verify_xml_rpc_signature() {
319 319
 		if ( is_null( $this->xmlrpc_verification ) ) {
@@ -1286,6 +1286,7 @@  discard block
 block discarded – undo
1286 1286
 	 * @param String  $action  The action name.
1287 1287
 	 * @param Integer $user_id The user identifier.
1288 1288
 	 * @param Integer $exp     Expiration time in seconds.
1289
+	 * @return string
1289 1290
 	 */
1290 1291
 	public function generate_secrets( $action, $user_id = false, $exp = 600 ) {
1291 1292
 		if ( false === $user_id ) {
@@ -2242,7 +2243,7 @@  discard block
 block discarded – undo
2242 2243
 	 *
2243 2244
 	 * @param int|false    $user_id   false: Return the Blog Token. int: Return that user's User Token.
2244 2245
 	 * @param string|false $token_key If provided, check that the token matches the provided input.
2245
-	 * @param bool|true    $suppress_errors If true, return a falsy value when the token isn't found; When false, return a descriptive WP_Error when the token isn't found.
2246
+	 * @param boolean    $suppress_errors If true, return a falsy value when the token isn't found; When false, return a descriptive WP_Error when the token isn't found.
2246 2247
 	 *
2247 2248
 	 * @return object|false
2248 2249
 	 */
@@ -2626,7 +2627,7 @@  discard block
 block discarded – undo
2626 2627
 	 * Fetches a signed token.
2627 2628
 	 *
2628 2629
 	 * @param object $token the token.
2629
-	 * @return WP_Error|string a signed token
2630
+	 * @return string a signed token
2630 2631
 	 */
2631 2632
 	public function get_signed_token( $token ) {
2632 2633
 		if ( ! isset( $token->secret ) || empty( $token->secret ) ) {
Please login to merge, or discard this patch.
projects/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.
projects/packages/jitm/src/class-post-connection-jitm.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
 	 *
104 104
 	 * @param string $content The current message.
105 105
 	 *
106
-	 * @return array The new message.
106
+	 * @return string The new message.
107 107
 	 */
108 108
 	public static function jitm_woocommerce_services_msg( $content ) {
109 109
 		if ( ! function_exists( 'wc_get_base_location' ) ) {
Please login to merge, or discard this patch.
projects/packages/lazy-images/src/lazy-images.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 	 *
56 56
 	 * @since 5.6.0
57 57
 	 *
58
-	 * @return object The class instance.
58
+	 * @return Jetpack_Lazy_Images The class instance.
59 59
 	 */
60 60
 	public static function instance() {
61 61
 		if ( is_null( self::$instance ) ) {
Please login to merge, or discard this patch.
projects/packages/options/legacy/class-jetpack-options.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 	 *
28 28
 	 * @param string $type The type of option to return. Defaults to 'compact'.
29 29
 	 *
30
-	 * @return array
30
+	 * @return string[]
31 31
 	 */
32 32
 	public static function get_option_names( $type = 'compact' ) {
33 33
 		switch ( $type ) {
@@ -505,7 +505,7 @@  discard block
 block discarded – undo
505 505
 	 * @since 5.4.0
506 506
 	 *
507 507
 	 * @param boolean $strip_unsafe_options If true, and by default, will strip out options necessary for the connection to WordPress.com.
508
-	 * @return array An array of all options managed via the Jetpack_Options class.
508
+	 * @return string[] An array of all options managed via the Jetpack_Options class.
509 509
 	 */
510 510
 	public static function get_all_jetpack_options( $strip_unsafe_options = true ) {
511 511
 		$jetpack_options            = self::get_option_names();
@@ -548,7 +548,7 @@  discard block
 block discarded – undo
548 548
 	 *
549 549
 	 * @since 5.4.0
550 550
 	 *
551
-	 * @return array
551
+	 * @return string[]
552 552
 	 */
553 553
 	public static function get_all_wp_options() {
554 554
 		// A manual build of the wp options.
Please login to merge, or discard this patch.
projects/packages/redirect/tests/php/bootstrap.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -92,6 +92,10 @@
 block discarded – undo
92 92
 	return $ret;
93 93
 }
94 94
 
95
+/**
96
+ * @param string $prefix
97
+ * @param string $sep
98
+ */
95 99
 function _http_build_query( $data, $prefix = null, $sep = null, $key = '', $urlencode = true ) {
96 100
 	$ret = array();
97 101
 
Please login to merge, or discard this patch.