Completed
Push — update/enable-upgrade-nudge-on... ( 32c9c4...724b81 )
by
unknown
194:49 queued 186:06
created
class.jetpack-gutenberg.php 1 patch
Doc Comments   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -517,7 +517,7 @@  discard block
 block discarded – undo
517 517
 	 * Only enqueue block assets when needed.
518 518
 	 *
519 519
 	 * @param string $type Slug of the block.
520
-	 * @param array  $script_dependencies Script dependencies. Will be merged with automatically
520
+	 * @param string[]  $script_dependencies Script dependencies. Will be merged with automatically
521 521
 	 *                                    detected script dependencies from the webpack build.
522 522
 	 *
523 523
 	 * @return void
@@ -769,7 +769,7 @@  discard block
 block discarded – undo
769 769
 	 *
770 770
 	 * @param string $slug  Block slug.
771 771
 	 * @param array  $attr  Block attributes.
772
-	 * @param array  $extra Potential extra classes you may want to provide.
772
+	 * @param string[]  $extra Potential extra classes you may want to provide.
773 773
 	 *
774 774
 	 * @return string $classes List of CSS classes for a block.
775 775
 	 */
@@ -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 (
@@ -1067,7 +1067,6 @@  discard block
 block discarded – undo
1067 1067
 	 *
1068 1068
 	 * @param string   $slug The block slug, used to check for availability.
1069 1069
 	 * @param callable $render_callback The render_callback that will be called if the block is available.
1070
-	 * @param bool     $enable_frontend_preview Whether a preview should be rendered for admins when an upgrade is required.
1071 1070
 	 */
1072 1071
 	public static function get_render_callback_with_availability_check( $slug, $render_callback ) {
1073 1072
 		return function ( $prepared_attributes, $block_content ) use ( $render_callback, $slug ) {
Please login to merge, or discard this patch.