From be64557b884ec2c730732aa15d3c0784f8f23da3 Mon Sep 17 00:00:00 2001 From: quietone Date: Sun, 17 Nov 2024 17:37:29 +1300 Subject: Issue #3483299 by tstoeckler, mstrelan, nicxvan: Add void return type to all preprocess hook implementations --- core/modules/help/help.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/modules/help/help.module') diff --git a/core/modules/help/help.module b/core/modules/help/help.module index 91edfa9aabc9..69ab53e14369 100644 --- a/core/modules/help/help.module +++ b/core/modules/help/help.module @@ -7,7 +7,7 @@ /** * Implements hook_preprocess_HOOK() for block templates. */ -function help_preprocess_block(&$variables) { +function help_preprocess_block(&$variables): void { if ($variables['plugin_id'] == 'help_block') { $variables['attributes']['role'] = 'complementary'; } -- cgit v1.2.3