diff --git a/src/wp-includes/blocks/search.php b/src/wp-includes/blocks/search.php index 280360b86e..94ec6fc4ac 100644 --- a/src/wp-includes/blocks/search.php +++ b/src/wp-includes/blocks/search.php @@ -180,7 +180,7 @@ function classnames_for_block_core_search( $attributes ) { * * @param array $attributes The block attributes. * - * @return string[] Style HTML attributes. + * @return array Style HTML attribute. */ function styles_for_block_core_search( $attributes ) { $wrapper_styles = array(); diff --git a/src/wp-includes/blocks/template-part.php b/src/wp-includes/blocks/template-part.php index 94be0b53b1..d1343249ed 100644 --- a/src/wp-includes/blocks/template-part.php +++ b/src/wp-includes/blocks/template-part.php @@ -159,9 +159,9 @@ function render_block_core_template_part( $attributes ) { } /** - * Returns an array of variation arrays for the template part block. + * Returns an array of variation objects for the template part block. * - * @return array[] Array containing the block variation data in an array. + * @return array Array containing the block variation objects. */ function build_template_part_block_variations() { $variations = array();