Skip to content
Snippets Groups Projects
Commit cdd9e92a authored by catch's avatar catch
Browse files

Issue #3512815 by grevil:...

Issue #3512815 by grevil: "core/modules/node/src/Plugin/migrate/source/d6/Node.php" "__construct" method uses variable of type "ModuleHandler" instead of "ModuleHandlerInterface"
parent 13f8e3d8
No related branches found
No related tags found
1 merge request!2964Issue #2865710 : Dependencies from only one instance of a widget are used in display modes
Pipeline #448091 passed with warnings
Pipeline: drupal

#448105

    Pipeline: drupal

    #448103

      Pipeline: drupal

      #448101

        +4
        ......@@ -4,7 +4,7 @@
        use Drupal\Core\Database\Query\SelectInterface;
        use Drupal\Core\Entity\EntityTypeManagerInterface;
        use Drupal\Core\Extension\ModuleHandler;
        use Drupal\Core\Extension\ModuleHandlerInterface;
        use Drupal\Core\State\StateInterface;
        use Drupal\migrate\Attribute\MigrateSource;
        use Drupal\migrate\Plugin\MigrationInterface;
        ......@@ -73,14 +73,14 @@ class Node extends DrupalSqlBase {
        /**
        * The module handler.
        *
        * @var \Drupal\Core\Extension\ModuleHandler
        * @var \Drupal\Core\Extension\ModuleHandlerInterface
        */
        protected $moduleHandler;
        /**
        * {@inheritdoc}
        */
        public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, StateInterface $state, EntityTypeManagerInterface $entity_type_manager, ModuleHandler $module_handler) {
        public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, StateInterface $state, EntityTypeManagerInterface $entity_type_manager, ModuleHandlerInterface $module_handler) {
        parent::__construct($configuration, $plugin_id, $plugin_definition, $migration, $state, $entity_type_manager);
        $this->moduleHandler = $module_handler;
        }
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Please register or to comment