Completed
Push — renovate/testing-library-jest-... ( fe7452 )
by
unknown
08:05
created
_inc/lib/class-jetpack-instagram-gallery-helper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 	 *
19 19
 	 * @param  string $access_token The Instagram access token.
20 20
 	 * @param  int    $count        The number of Instagram posts to fetch.
21
-	 * @return mixed
21
+	 * @return integer|null
22 22
 	 */
23 23
 	public static function get_instagram_gallery( $access_token, $count ) {
24 24
 		$site_id = self::get_site_id();
Please login to merge, or discard this patch.
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.
wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-external-media.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -297,7 +297,7 @@
 block discarded – undo
297 297
 	 * Returns a download URL, dealing with Google's long file names.
298 298
 	 *
299 299
 	 * @param array $guid Media information.
300
-	 * @return string|\WP_Error
300
+	 * @return string
301 301
 	 */
302 302
 	public function get_download_url( $guid ) {
303 303
 		$this->tmp_name = $guid['name'];
Please login to merge, or discard this patch.
packages/redirect/tests/php/bootstrap.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -100,6 +100,10 @@  discard block
 block discarded – undo
100 100
 	return $ret;
101 101
 }
102 102
 
103
+/**
104
+ * @param string $prefix
105
+ * @param string $sep
106
+ */
103 107
 function _http_build_query( $data, $prefix = null, $sep = null, $key = '', $urlencode = true ) {
104 108
 	$ret = array();
105 109
 
@@ -139,6 +143,9 @@  discard block
 block discarded – undo
139 143
 	return _http_build_query( $data, null, '&', '', false );
140 144
 }
141 145
 
146
+/**
147
+ * @param string $callback
148
+ */
142 149
 function map_deep( $value, $callback ) {
143 150
 	if ( is_array( $value ) ) {
144 151
 		foreach ( $value as $index => $item ) {
Please login to merge, or discard this patch.
modules/scan/class-admin-bar-notice.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
 	/**
144 144
 	 *
145 145
 	 * Return Whether boolean cached threats exist or null if the state is unknown.
146
-	 * * @return boolean or null
146
+	 * * @return null|boolean or null
147 147
 	 */
148 148
 	public function has_threats() {
149 149
 		$scan_state = get_transient( 'jetpack_scan_state' );
Please login to merge, or discard this patch.
modules/gravatar-hovercards.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@
 block discarded – undo
154 154
  * @param string $avatar The <img/> element of the avatar.
155 155
  * @param mixed $author User ID, email address, user login, comment object, user object, post object
156 156
  *
157
- * @return The <img/> element of the avatar.
157
+ * @return string <img/> element of the avatar.
158 158
  */
159 159
 function grofiles_get_avatar( $avatar, $author ) {
160 160
 	$is_amp = class_exists( 'Jetpack_AMP_Support' ) && Jetpack_AMP_Support::is_amp_request();
Please login to merge, or discard this patch.
classes/class-jetpack-woocommerce-analytics-universal.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -310,7 +310,7 @@
 block discarded – undo
310 310
 	/**
311 311
 	 * Get the current user id
312 312
 	 *
313
-	 * @return int
313
+	 * @return string
314 314
 	 */
315 315
 	public function get_user_id() {
316 316
 		if ( is_user_logged_in() ) {
Please login to merge, or discard this patch.
modules/subscriptions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -514,7 +514,7 @@
 block discarded – undo
514 514
 	 * Send a synchronous XML-RPC subscribe to blog posts or subscribe to post comments request.
515 515
 	 *
516 516
 	 * @param string $email
517
-	 * @param array  $post_ids (optional) defaults to 0 for blog posts only: array of post IDs to subscribe to blog's posts
517
+	 * @param integer  $post_ids (optional) defaults to 0 for blog posts only: array of post IDs to subscribe to blog's posts
518 518
 	 * @param bool   $async    (optional) Should the subscription be performed asynchronously?  Defaults to true.
519 519
 	 *
520 520
 	 * @return true|WP_Error true on success
Please login to merge, or discard this patch.
docker/mu-plugins/avoid-plugin-deletion.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
  * @param string   $context     The plugin context. By default this can include 'all', 'active', 'inactive',
27 27
  *                              'recently_activated', 'upgrade', 'mustuse', 'dropins', and 'search'.
28 28
  *
29
- * @return mixed
29
+ * @return string[]
30 30
  */
31 31
 function jetpack_docker_disable_plugin_deletion_link( $actions, $plugin_file, $plugin_data, $context ) {
32 32
 	global $jetpack_docker_avoided_plugins;
Please login to merge, or discard this patch.