From 44e308c12e68b5c6b63845fd84369ba36985e193 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Thu, 24 Feb 2022 08:25:25 +0000 Subject: [PATCH] Docs: Correct return type for `get_block_metadata_i18n_schema()`. Props jeremyfelt. Fixes #55243. See #54729. git-svn-id: https://develop.svn.wordpress.org/trunk@52793 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/blocks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/blocks.php b/src/wp-includes/blocks.php index cec2f36925..e911de832a 100644 --- a/src/wp-includes/blocks.php +++ b/src/wp-includes/blocks.php @@ -203,7 +203,7 @@ function register_block_style_handle( $metadata, $field_name ) { * * @since 5.9.0 * - * @return array The schema for block's metadata. + * @return object The schema for block's metadata. */ function get_block_metadata_i18n_schema() { static $i18n_block_schema;