Completed
Push — renovate/automattic-calypso-co... ( 94c36b...4720a2 )
by
unknown
19:49 queued 12:46
created
class.jetpack-gutenberg.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -518,7 +518,7 @@  discard block
 block discarded – undo
518 518
 	 * Only enqueue block assets when needed.
519 519
 	 *
520 520
 	 * @param string $type Slug of the block.
521
-	 * @param array  $script_dependencies Script dependencies. Will be merged with automatically
521
+	 * @param string[]  $script_dependencies Script dependencies. Will be merged with automatically
522 522
 	 *                                    detected script dependencies from the webpack build.
523 523
 	 *
524 524
 	 * @return void
@@ -866,10 +866,10 @@  discard block
 block discarded – undo
866 866
 	 * @since 8.3.0
867 867
 	 *
868 868
 	 * @param string $url      URL saved as an attribute in block.
869
-	 * @param array  $allowed  Array of allowed hosts for that block, or regexes to check against.
869
+	 * @param string[]  $allowed  Array of allowed hosts for that block, or regexes to check against.
870 870
 	 * @param bool   $is_regex Array of regexes matching the URL that could be used in block.
871 871
 	 *
872
-	 * @return bool|string
872
+	 * @return false|string
873 873
 	 */
874 874
 	public static function validate_block_embed_url( $url, $allowed = array(), $is_regex = false ) {
875 875
 		if (
Please login to merge, or discard this patch.
_inc/lib/class-jetpack-podcast-helper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
 	 * Loads an RSS feed using `fetch_feed`.
59 59
 	 *
60 60
 	 * @param string $feed        The RSS feed URL to load.
61
-	 * @return SimplePie|WP_Error The RSS object or error.
61
+	 * @return string The RSS object or error.
62 62
 	 */
63 63
 	private static function load_feed( $feed ) {
64 64
 		$rss = fetch_feed( esc_url_raw( $feed ) );
Please login to merge, or discard this patch.
sal/class.json-api-site-jetpack.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -165,6 +165,9 @@  discard block
 block discarded – undo
165 165
 		return $this->get_atomic_cloud_site_option( 'launch-status' );
166 166
 	}
167 167
 
168
+	/**
169
+	 * @param string $option
170
+	 */
168 171
 	function get_atomic_cloud_site_option( $option ) {
169 172
 		if ( ! jetpack_is_atomic_site() ) {
170 173
 			return false;
@@ -229,6 +232,9 @@  discard block
 block discarded – undo
229 232
 		return true;
230 233
 	}
231 234
 
235
+	/**
236
+	 * @param string $role
237
+	 */
232 238
 	function current_user_can( $role ) {
233 239
 		return current_user_can( $role );
234 240
 	}
Please login to merge, or discard this patch.