From 1b188a97b8b9c31758e5f33f0ddc42d014595bd1 Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Tue, 14 Jan 2025 10:33:00 +0200 Subject: [PATCH] docs: fix missing `false` return type on gutenberg_register_block_module_id() (#68393) Co-authored-by: justlevine Co-authored-by: Mamaduka --- lib/experimental/script-modules.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/experimental/script-modules.php b/lib/experimental/script-modules.php index 5a14e1418ed6de..9657fdad4a7254 100644 --- a/lib/experimental/script-modules.php +++ b/lib/experimental/script-modules.php @@ -55,7 +55,7 @@ function gutenberg_filter_block_type_metadata_settings_register_view_module( $se * @param string $field_name Field name to pick from metadata. * @param int $index Optional. Index of the script to register when multiple items passed. * Default 0. - * @return string Module ID. + * @return string|false Module ID. */ function gutenberg_register_block_module_id( $metadata, $field_name, $index = 0 ) { if ( empty( $metadata[ $field_name ] ) ) {