summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/help/src/HelpTwigExtension.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/help/src/HelpTwigExtension.php')
-rw-r--r--core/modules/help/src/HelpTwigExtension.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/help/src/HelpTwigExtension.php b/core/modules/help/src/HelpTwigExtension.php
index e41ad66503d..b8a77a914f6 100644
--- a/core/modules/help/src/HelpTwigExtension.php
+++ b/core/modules/help/src/HelpTwigExtension.php
@@ -41,7 +41,7 @@ class HelpTwigExtension extends AbstractExtension {
/**
* {@inheritdoc}
*/
- public function getFunctions() {
+ public function getFunctions(): array {
return [
new TwigFunction('help_route_link', [$this, 'getRouteLink']),
new TwigFunction('help_topic_link', [$this, 'getTopicLink']),