summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/help/src/HelpTopicTwigLoader.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/help/src/HelpTopicTwigLoader.php')
-rw-r--r--core/modules/help/src/HelpTopicTwigLoader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/help/src/HelpTopicTwigLoader.php b/core/modules/help/src/HelpTopicTwigLoader.php
index fc2e61bbaaf..9178166597c 100644
--- a/core/modules/help/src/HelpTopicTwigLoader.php
+++ b/core/modules/help/src/HelpTopicTwigLoader.php
@@ -96,7 +96,7 @@ class HelpTopicTwigLoader extends FilesystemLoader {
/**
* {@inheritdoc}
*/
- protected function findTemplate($name, $throw = TRUE) {
+ protected function findTemplate($name, $throw = TRUE): ?string {
if (!str_ends_with($name, '.html.twig')) {
if (!$throw) {
return NULL;