From bcc0c000d1c0b01f2429e7b2bfece19e2883d29f Mon Sep 17 00:00:00 2001 From: xjm <xjm@65776.no-reply.drupal.org> Date: Wed, 21 Sep 2022 16:04:39 +0200 Subject: [PATCH] Issue #3309719 by solideogloria: Incorrect namespace in comment in EntityAutocomplete.php --- core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php b/core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php index 083de1d63975..29507fd2e1cc 100644 --- a/core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php +++ b/core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php @@ -202,7 +202,7 @@ public static function validateEntityAutocomplete(array &$element, FormStateInte 'target_type' => $element['#target_type'], 'handler' => $element['#selection_handler'], ]; - /** @var /Drupal\Core\Entity\EntityReferenceSelection\SelectionInterface $handler */ + /** @var \Drupal\Core\Entity\EntityReferenceSelection\SelectionInterface $handler */ $handler = \Drupal::service('plugin.manager.entity_reference_selection')->getInstance($options); $autocreate = (bool) $element['#autocreate'] && $handler instanceof SelectionWithAutocreateInterface; -- GitLab