diff --git a/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/LanguageFormatter.php b/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/LanguageFormatter.php index d42fa4c..d142872 100644 --- a/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/LanguageFormatter.php +++ b/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/LanguageFormatter.php @@ -12,8 +12,8 @@ use Drupal\Core\Field\FieldDefinitionInterface; use Drupal\Core\Field\FieldItemInterface; use Drupal\Core\Form\FormStateInterface; -use Symfony\Component\DependencyInjection\ContainerInterface; use Drupal\Core\Language\LanguageManagerInterface; +use Symfony\Component\DependencyInjection\ContainerInterface; /** * Plugin implementation of the 'language' formatter. @@ -36,7 +36,7 @@ class LanguageFormatter extends StringFormatter { protected $languageManager; /** - * Constructs a StringFormatter instance. + * Constructs a LanguageFormatter instance. * * @param string $plugin_id * The plugin_id for the formatter. diff --git a/core/modules/node/src/Tests/Views/NodeLanguageTest.php b/core/modules/node/src/Tests/Views/NodeLanguageTest.php index 49712c8..d2101ab 100644 --- a/core/modules/node/src/Tests/Views/NodeLanguageTest.php +++ b/core/modules/node/src/Tests/Views/NodeLanguageTest.php @@ -257,7 +257,7 @@ public function testNativeLanguageField() { } /** - * Assert the presence of language names in their English or native forms. + * Asserts the presence of language names in their English or native forms. * * @param bool $native * (optional) Whether to assert the language name in its native form.