summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/help/help.module
diff options
context:
space:
mode:
authorquietone <quietone@2572884.no-reply.drupal.org>2024-11-17 17:37:29 +1300
committerquietone <quietone@2572884.no-reply.drupal.org>2024-11-17 17:37:29 +1300
commitbe64557b884ec2c730732aa15d3c0784f8f23da3 (patch)
treef82c59d776a44dd439ab305b563fb07a4f45d793 /core/modules/help/help.module
parentf8e5acb7643f787cf58dee689c76d13e29c8aa43 (diff)
downloaddrupal-be64557b884ec2c730732aa15d3c0784f8f23da3.tar.gz
drupal-be64557b884ec2c730732aa15d3c0784f8f23da3.zip
Issue #3483299 by tstoeckler, mstrelan, nicxvan: Add void return type to all preprocess hook implementations
Diffstat (limited to 'core/modules/help/help.module')
-rw-r--r--core/modules/help/help.module2
1 files changed, 1 insertions, 1 deletions
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';
}