diff --git a/packages/block-library/src/navigation/index.php b/packages/block-library/src/navigation/index.php index a07235b601abb..036e6250d6576 100644 --- a/packages/block-library/src/navigation/index.php +++ b/packages/block-library/src/navigation/index.php @@ -72,8 +72,8 @@ function block_core_navigation_sort_menu_items_by_parent_id( $menu_items ) { * Add Interactivity API directives to the navigation-submenu and page-list * blocks markup using the Tag Processor. * - * @param string $w Markup of the navigation block. - * @param array $block_attributes Block attributes. + * @param WP_HTML_Tag_Processor $w Markup of the navigation block. + * @param array $block_attributes Block attributes. * * @return string Submenu markup with the directives injected. */