diff --git a/core/modules/field/lib/Drupal/field/Plugin/Type/Widget/WidgetBaseInterface.php b/core/modules/field/lib/Drupal/field/Plugin/Type/Widget/WidgetBaseInterface.php
index da4e7d7..04300a4 100644
--- a/core/modules/field/lib/Drupal/field/Plugin/Type/Widget/WidgetBaseInterface.php
+++ b/core/modules/field/lib/Drupal/field/Plugin/Type/Widget/WidgetBaseInterface.php
@@ -27,7 +27,7 @@
    * TRUE), the 'default value', if any, is pre-populated. Also allows other
    * modules to alter the form element by implementing their own hooks.
    *
-   * @param \Drupal\Core\Entity\EntityInterface $entity
+   * @param Drupal\Core\Entity\EntityInterface $entity
    *   The entity for which the widget is being built.
    * @param string $langcode
    *   The language associated with the field.
@@ -50,7 +50,7 @@ public function form(EntityInterface $entity, $langcode, array $items, array &$f
   /**
    * Extracts field values from submitted form values.
    *
-   * @param \Drupal\Core\Entity\EntityInterface $entity
+   * @param Drupal\Core\Entity\EntityInterface $entity
    *   The entity for which the widget is being submitted.
    * @param string $langcode
    *   The language associated to $items.
@@ -68,7 +68,7 @@ public function extractFormValues(EntityInterface $entity, $langcode, array &$it
   /**
    * Reports field-level validation errors against actual form elements.
    *
-   * @param \Drupal\Core\Entity\EntityInterface $entity
+   * @param Drupal\Core\Entity\EntityInterface $entity
    *   The entity for which the widget is being submitted.
    * @param string $langcode
    *   The language associated to $items.
diff --git a/core/modules/field/lib/Drupal/field/Plugin/Type/Widget/WidgetFactory.php b/core/modules/field/lib/Drupal/field/Plugin/Type/Widget/WidgetFactory.php
index 6db0e92..e8cafeb 100644
--- a/core/modules/field/lib/Drupal/field/Plugin/Type/Widget/WidgetFactory.php
+++ b/core/modules/field/lib/Drupal/field/Plugin/Type/Widget/WidgetFactory.php
@@ -15,7 +15,7 @@
 class WidgetFactory extends DefaultFactory {
 
   /**
-   * Overrides \Drupal\Component\Plugin\Factory\DefaultFactory::createInstance().
+   * Overrides Drupal\Component\Plugin\Factory\DefaultFactory::createInstance().
    */
   public function createInstance($plugin_id, array $configuration) {
     $plugin_definition = $this->discovery->getDefinition($plugin_id);
