diff --git a/core/modules/media/src/Form/EditorMediaDialog.php b/core/modules/media/src/Form/EditorMediaDialog.php
index efe9cccbbb44984e5d88baab5eeafbe61b7c5868..fe7e07d5d43a857146b83adc4b39235f537c3c67 100644
--- a/core/modules/media/src/Form/EditorMediaDialog.php
+++ b/core/modules/media/src/Form/EditorMediaDialog.php
@@ -77,7 +77,7 @@ public function getFormId() {
   /**
    * {@inheritdoc}
    *
-   * @param \Drupal\editor\Entity\Editor $editor
+   * @param \Drupal\editor\EditorInterface $editor
    *   The text editor to which this dialog corresponds.
    */
   public function buildForm(array $form, FormStateInterface $form_state, EditorInterface $editor = NULL) {