diff --git a/core/modules/migrate/src/Plugin/migrate/destination/EntityComment.php b/core/modules/migrate/src/Plugin/migrate/destination/EntityComment.php index 52c8c45..c7181ad 100644 --- a/core/modules/migrate/src/Plugin/migrate/destination/EntityComment.php +++ b/core/modules/migrate/src/Plugin/migrate/destination/EntityComment.php @@ -11,7 +11,7 @@ use Drupal\Core\Entity\EntityStorageInterface; use Drupal\Core\State\StateInterface; use Drupal\migrate\Entity\MigrationInterface; -use Drupal\Core\Entity\Query\QueryInterface; +use Drupal\Core\Entity\Query\QueryFactory; use Drupal\migrate\MigrateSkipRowException; use Drupal\migrate\Row; use Symfony\Component\DependencyInjection\ContainerInterface; @@ -70,10 +70,10 @@ class EntityComment extends EntityContentBase { * The entity manager service. * @param \Drupal\Core\State\StateInterface $state * The state storage object. - * @param \Drupal\Core\Entity\Query\QueryInterface $entity_query + * @param \Drupal\Core\Entity\Query\QueryFactory $entity_query * The query object that can query the given entity type. */ - public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, EntityStorageInterface $storage, array $bundles, EntityManagerInterface $entity_manager, StateInterface $state, QueryInterface $entity_query) { + public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, EntityStorageInterface $storage, array $bundles, EntityManagerInterface $entity_manager, StateInterface $state, QueryFactory $entity_query) { parent::__construct($configuration, $plugin_id, $plugin_definition, $migration, $storage, $bundles, $entity_manager); $this->state = $state; $this->entityQuery = $entity_query;