diff -u b/src/EntityClone/Content/ContentEntityCloneBase.php b/src/EntityClone/Content/ContentEntityCloneBase.php --- b/src/EntityClone/Content/ContentEntityCloneBase.php +++ b/src/EntityClone/Content/ContentEntityCloneBase.php @@ -35,13 +35,10 @@ * The entity type manager. * @param string $entity_type_id * The entity type ID. - * @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher - * The event dispatcher service. */ - public function __construct(EntityTypeManagerInterface $entity_type_manager, $entity_type_id, EventDispatcherInterface $eventDispatcher) { + public function __construct(EntityTypeManagerInterface $entity_type_manager, $entity_type_id) { $this->entityTypeManager = $entity_type_manager; $this->entityTypeId = $entity_type_id; - $this->eventDispatcher = $eventDispatcher; } /**