From a072188452d72d64e93ecd29cdca297f318ea04f Mon Sep 17 00:00:00 2001 From: catch <catch@35733.no-reply.drupal.org> Date: Tue, 4 Feb 2020 09:42:17 +0000 Subject: [PATCH] Issue #3107005 by Hardik_Patel_12: Type hint mismach in EditorMediaDialog.php (cherry picked from commit b8740d880b83d3d4c4bb4d1f7e0cf4231339f3ed) --- core/modules/media/src/Form/EditorMediaDialog.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/media/src/Form/EditorMediaDialog.php b/core/modules/media/src/Form/EditorMediaDialog.php index efe9cccbbb44..fe7e07d5d43a 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) { -- GitLab