Completed
Push — try/package-button-block ( 89d64d...e0a758 )
by
unknown
30:46 queued 23:14
created
packages/block-loader/legacy/class.jetpack-gutenberg.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -270,6 +270,7 @@  discard block
 block discarded – undo
270 270
 	/**
271 271
 	 * Return the Gutenberg extensions (blocks and plugins) directory
272 272
 	 *
273
+	 * @param string $type
273 274
 	 * @return string The Gutenberg extensions directory
274 275
 	 */
275 276
 	public static function get_extension_path( $type ) {
@@ -420,7 +421,7 @@  discard block
 block discarded – undo
420 421
 	 * Only enqueue block assets when needed.
421 422
 	 *
422 423
 	 * @param string $type Slug of the block.
423
-	 * @param array  $script_dependencies Script dependencies. Will be merged with automatically
424
+	 * @param string[]  $script_dependencies Script dependencies. Will be merged with automatically
424 425
 	 *                                    detected script dependencies from the webpack build.
425 426
 	 *
426 427
 	 * @return void
@@ -762,10 +763,10 @@  discard block
 block discarded – undo
762 763
 	 * @since 8.3.0
763 764
 	 *
764 765
 	 * @param string $url      URL saved as an attribute in block.
765
-	 * @param array  $allowed  Array of allowed hosts for that block, or regexes to check against.
766
+	 * @param string[]  $allowed  Array of allowed hosts for that block, or regexes to check against.
766 767
 	 * @param bool   $is_regex Array of regexes matching the URL that could be used in block.
767 768
 	 *
768
-	 * @return bool|string
769
+	 * @return false|string
769 770
 	 */
770 771
 	public static function validate_block_embed_url( $url, $allowed = array(), $is_regex = false ) {
771 772
 		if (
Please login to merge, or discard this patch.