From 39b62165d444896f36a432fd2e82f76bb00853bc Mon Sep 17 00:00:00 2001 From: catch Date: Mon, 28 Sep 2020 11:18:36 +0100 Subject: [PATCH] Issue #3171872 by anmolgoyal74: Remove repetive 'for' work used --- .../config_translation/tests/src/Unit/ConfigNamesMapperTest.php | 2 +- core/modules/help_topics/tests/src/Functional/HelpTopicTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php b/core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php index 51697f01a252..6c9dc0115f0a 100644 --- a/core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php +++ b/core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php @@ -611,7 +611,7 @@ class ConfigNamesMapperTest extends UnitTestCase { } /** - * Provides data for for ConfigNamesMapperTest::testHasTranslation(). + * Provides data for ConfigNamesMapperTest::testHasTranslation(). * * @return array * An array of arrays, where each inner array has an array of values that diff --git a/core/modules/help_topics/tests/src/Functional/HelpTopicTest.php b/core/modules/help_topics/tests/src/Functional/HelpTopicTest.php index e70d8fd6e9e6..f3d8bc2acc9c 100644 --- a/core/modules/help_topics/tests/src/Functional/HelpTopicTest.php +++ b/core/modules/help_topics/tests/src/Functional/HelpTopicTest.php @@ -98,7 +98,7 @@ class HelpTopicTest extends BrowserTestBase { $session->pageTextContains('Topics can be provided by modules or themes'); $session->responseHeaderContains('X-Drupal-Cache-Tags', 'core.extension'); - // Verify links for for help topics and order. + // Verify links for help topics and order. $page_text = $this->getTextContent(); $start = strpos($page_text, 'Topics can be provided'); $pos = $start;