diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/field/formatter/CommentDefaultFormatter.php b/core/modules/comment/lib/Drupal/comment/Plugin/field/formatter/CommentDefaultFormatter.php index 5688892..5ae427f 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/field/formatter/CommentDefaultFormatter.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/field/formatter/CommentDefaultFormatter.php @@ -14,9 +14,7 @@ use Drupal\field\Annotation\FieldFormatter; use Drupal\Core\Annotation\Translation; use Drupal\Core\Entity\Field\FieldDefinitionInterface; -use Drupal\Core\Entity\Field\FieldInterface; use Drupal\field\Plugin\Type\Formatter\FormatterBase; -use Drupal\Core\Entity\EntityInterface; use Drupal\Core\Plugin\ContainerFactoryPluginInterface; use Symfony\Component\DependencyInjection\ContainerInterface; diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/field/widget/CommentWidget.php b/core/modules/comment/lib/Drupal/comment/Plugin/field/widget/CommentWidget.php index bbb91f4..dadc51c 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/field/widget/CommentWidget.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/field/widget/CommentWidget.php @@ -8,9 +8,8 @@ namespace Drupal\comment\Plugin\field\widget; use Drupal\Core\Entity\Field\FieldItemListInterface; -use Drupal\field\Annotation\FieldWidget; use Drupal\Core\Annotation\Translation; -use Drupal\Core\Entity\Field\FieldInterface; +use Drupal\field\Annotation\FieldWidget; use Drupal\field\Plugin\Type\Widget\WidgetBase; /**