Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / config_translation / src / FormElement / Textarea.php
index ff9e4cde4035da60c9d340c35c73e1255c5e4254..4308969e2dcc18702f0b1b8f26985c1b2c039469 100644 (file)
@@ -15,7 +15,7 @@ class Textarea extends FormElementBase {
   public function getTranslationElement(LanguageInterface $translation_language, $source_config, $translation_config) {
     // Estimate a comfortable size of the input textarea.
     $rows_words = ceil(str_word_count($translation_config) / 5);
-    $rows_newlines = substr_count($translation_config, "\n" ) + 1;
+    $rows_newlines = substr_count($translation_config, "\n") + 1;
     $rows = max($rows_words, $rows_newlines);
 
     return [