diff --git a/src/wp-includes/class-wp-block-type.php b/src/wp-includes/class-wp-block-type.php index b783a80c4bd82..9caa366032a75 100644 --- a/src/wp-includes/class-wp-block-type.php +++ b/src/wp-includes/class-wp-block-type.php @@ -181,7 +181,7 @@ class WP_Block_Type { * next to the "anchor" block whenever the latter is encountered. * * @since 6.4.0 - * @var array[] + * @var string[] */ public $block_hooks = array(); @@ -299,7 +299,7 @@ class WP_Block_Type { * @type array|null $attributes Block type attributes property schemas. * @type string[] $uses_context Context values inherited by blocks of this type. * @type string[]|null $provides_context Context provided by blocks of this type. - * @type array[] $block_hooks Block hooks. + * @type string[] $block_hooks Block hooks. * @type string[] $editor_script_handles Block type editor only script handles. * @type string[] $script_handles Block type front end and editor script handles. * @type string[] $view_script_handles Block type front end only script handles.