diff --git a/core/modules/taxonomy/src/TermForm.php b/core/modules/taxonomy/src/TermForm.php
index ceebd0c..85c5b83 100644
--- a/core/modules/taxonomy/src/TermForm.php
+++ b/core/modules/taxonomy/src/TermForm.php
@@ -19,7 +19,7 @@ public function form(array $form, FormStateInterface $form_state) {
if (!$term->isNew()) {
$vocabulary = Vocabulary::load($term->bundle());
- $form['#title'] = $this->t('Edit @name in @parent vocabulary', array('@name' => $term->label(), '@parent' => $vocabulary->label()));
+ $form['#title'] = $this->t('Edit @name in @parent vocabulary', ['@name' => $term->label(), '@parent' => $vocabulary->label()]);
}
$vocab_storage = $this->entityManager->getStorage('taxonomy_vocabulary');
diff --git a/core/modules/taxonomy/src/VocabularyForm.php b/core/modules/taxonomy/src/VocabularyForm.php
index 3077396..4ba432e 100644
--- a/core/modules/taxonomy/src/VocabularyForm.php
+++ b/core/modules/taxonomy/src/VocabularyForm.php
@@ -49,7 +49,7 @@ public function form(array $form, FormStateInterface $form_state) {
$form['#title'] = $this->t('Add vocabulary');
}
else {
- $form['#title'] = $this->t('Edit @name', array('@name' => $vocabulary->label()));
+ $form['#title'] = $this->t('Edit @name', ['@name' => $vocabulary->label()]);
}
$form['name'] = [