Completed
Push — renovate/url-polyfill-1.x ( 01368d...f2aaf6 )
by
unknown
114:05 queued 106:27
created
packages/connection/src/class-manager.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
 	/**
273 273
 	 * Verifies the signature of the current request.
274 274
 	 *
275
-	 * @return false|array
275
+	 * @return boolean
276 276
 	 */
277 277
 	public function verify_xml_rpc_signature() {
278 278
 		if ( is_null( $this->xmlrpc_verification ) ) {
@@ -1134,6 +1134,7 @@  discard block
 block discarded – undo
1134 1134
 	 * @param String  $action  The action name.
1135 1135
 	 * @param Integer $user_id The user identifier.
1136 1136
 	 * @param Integer $exp     Expiration time in seconds.
1137
+	 * @return string
1137 1138
 	 */
1138 1139
 	public function generate_secrets( $action, $user_id = false, $exp = 600 ) {
1139 1140
 		if ( false === $user_id ) {
@@ -1549,7 +1550,7 @@  discard block
 block discarded – undo
1549 1550
 	 *
1550 1551
 	 * @param int|false    $user_id   false: Return the Blog Token. int: Return that user's User Token.
1551 1552
 	 * @param string|false $token_key If provided, check that the token matches the provided input.
1552
-	 * @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.
1553
+	 * @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.
1553 1554
 	 *
1554 1555
 	 * @return object|false
1555 1556
 	 */
Please login to merge, or discard this patch.
modules/wordads/class-wordads.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
 	 * Convenience function for grabbing options from params->options
119 119
 	 *
120 120
 	 * @param  string $option the option to grab.
121
-	 * @param  mixed  $default (optional).
121
+	 * @param  boolean  $default (optional).
122 122
 	 * @return option or $default if not set
123 123
 	 *
124 124
 	 * @since 4.5.0
@@ -710,7 +710,7 @@  discard block
 block discarded – undo
710 710
 	/**
711 711
 	 * Check the reasons to bail before we attempt to insert ads.
712 712
 	 *
713
-	 * @return true if we should bail (don't insert ads)
713
+	 * @return boolean if we should bail (don't insert ads)
714 714
 	 *
715 715
 	 * @since 4.5.0
716 716
 	 */
Please login to merge, or discard this patch.
modules/wordads/php/class-wordads-sidebar-widget.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 	 * @param array $args Widget args.
48 48
 	 * @param array $instance The Widget instance.
49 49
 	 *
50
-	 * @return bool|void
50
+	 * @return false|null
51 51
 	 */
52 52
 	public function widget( $args, $instance ) {
53 53
 		global $wordads;
Please login to merge, or discard this patch.
class.photon.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -216,7 +216,6 @@  discard block
 block discarded – undo
216 216
 	/**
217 217
 	 * Inject image sizes to Jetpack REST API responses. This wraps the filter_photon_norezise_maybe_inject_sizes function.
218 218
 	 *
219
-	 * @param array $data          Attachment sizes data.
220 219
 	 * @param int   $attachment_id Attachment's post ID.
221 220
 	 *
222 221
 	 * @return array Attachment sizes array.
@@ -1332,7 +1331,7 @@  discard block
 block discarded – undo
1332 1331
 	 * after ourselves without breaking anyone else's filters.
1333 1332
 	 *
1334 1333
 	 * @internal
1335
-	 * @return true
1334
+	 * @return boolean
1336 1335
 	 */
1337 1336
 	public function override_image_downsize_in_rest_edit_context() {
1338 1337
 		return true;
Please login to merge, or discard this patch.
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.
packages/connection/legacy/class-jetpack-ixr-client.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -50,6 +50,7 @@
 block discarded – undo
50 50
 	 * Perform the IXR request.
51 51
 	 *
52 52
 	 * @param string[] ...$args IXR args.
53
+	 * @param string $args
53 54
 	 *
54 55
 	 * @return bool True if request succeeded, false otherwise.
55 56
 	 */
Please login to merge, or discard this patch.
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.