Docs: Revert two changes that need to instead be made upstream in the Gutenberg repo.

Partially reverts [53877].

See #55646


git-svn-id: https://develop.svn.wordpress.org/trunk@53879 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2022-08-11 14:31:59 +00:00
parent 8d745ce28d
commit 57d6313f33
2 changed files with 3 additions and 3 deletions

View File

@ -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();

View File

@ -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();