From 067ee7b6ee22a4c6b01ffd557c1899e09eedfb0d Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Tue, 14 Jan 2025 10:22:59 +0200 Subject: [PATCH] docs: fix type syntax _gutenberg_add_block_template_plugin_attribute() (#68391) Co-authored-by: justlevine Co-authored-by: Mamaduka --- lib/compat/wordpress-6.7/compat.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/compat/wordpress-6.7/compat.php b/lib/compat/wordpress-6.7/compat.php index 33c123a14860d2..98ea34c813ae43 100644 --- a/lib/compat/wordpress-6.7/compat.php +++ b/lib/compat/wordpress-6.7/compat.php @@ -73,8 +73,8 @@ function ( $registered_template ) use ( $template_files ) { /** * Hooks into `get_block_template` to add the `plugin` property when necessary. * - * @param [WP_Block_Template|null] $block_template The found block template, or null if there isn’t one. - * @return [WP_Block_Template|null] The block template that was already found with the plugin property defined if it was registered by a plugin. + * @param WP_Block_Template|null $block_template The found block template, or null if there isn’t one. + * @return WP_Block_Template|null The block template that was already found with the plugin property defined if it was registered by a plugin. */ function _gutenberg_add_block_template_plugin_attribute( $block_template ) { if ( $block_template ) {