From 5a1de8b7b512ec0761bb098a48f21d45e7269e8c Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Sat, 2 Mar 2024 12:04:19 +0000 Subject: [PATCH] Issue #3421206 by karanpagare, GafgarionMorua, smustgrave, joachim, longwave: incorrect docs for LocaleConfigSubscriberTest::assertTranslation() (cherry picked from commit 2183176694099f1eff3954c17b422bba6f034963) --- .../locale/tests/src/Kernel/LocaleConfigSubscriberTest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php b/core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php index b7bfe2111259..70c2b5309776 100644 --- a/core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php +++ b/core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php @@ -458,7 +458,7 @@ class LocaleConfigSubscriberTest extends KernelTestBase { } /** - * Ensures a translation exists and is marked as customized. + * Asserts if a specific translation exists and its customization status. * * @param string $config_name * The configuration name. @@ -467,8 +467,7 @@ class LocaleConfigSubscriberTest extends KernelTestBase { * @param string $langcode * The language code. * @param bool $customized - * Whether or not the string should be asserted to be customized or not - * customized. + * (optional) Asserts if the translation is customized or not. * * @internal */