From 9e546b36782337bfb801ea729830dc9a77402437 Mon Sep 17 00:00:00 2001 From: catch Date: Thu, 27 Aug 2020 10:18:57 +0100 Subject: [PATCH] Issue #3164965 by shetpooja04, Hardik_Patel_12: Unused variable $source in help_topics module, HelpTopicTwigLoaderTest.php --- .../help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php b/core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php index 77798f3d1ac..75981cfeef9 100644 --- a/core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php +++ b/core/modules/help_topics/tests/src/Unit/HelpTopicTwigLoaderTest.php @@ -67,7 +67,7 @@ class HelpTopicTwigLoaderTest extends UnitTestCase { $this->expectException(LoaderError::class); $this->expectExceptionMessage("Malformed YAML in help topic \"vfs://root/modules/test/help_topics/test.invalid_yaml.html.twig\":"); - $source = $this->helpLoader->getSourceContext('@' . HelpTopicTwigLoader::MAIN_NAMESPACE . '/test.invalid_yaml.html.twig'); + $this->helpLoader->getSourceContext('@' . HelpTopicTwigLoader::MAIN_NAMESPACE . '/test.invalid_yaml.html.twig'); } /**