Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/Command/Migrate/SetupCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
namespace Drupal\Console\Command\Migrate;

use Drupal\Console\Style\DrupalStyle;
use Drupal\Core\State\StateInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Command\Command;
use Drupal\Console\Command\Shared\ContainerAwareCommandTrait;
use Drupal\Console\Command\Shared\DatabaseTrait;
use Drupal\Console\Command\Shared\MigrationTrait;
use Drupal\Core\State\State;
use Drupal\migrate\Plugin\MigrationPluginManagerInterface;
use Drupal\migrate\Plugin\RequirementsInterface;
use Drupal\migrate\Exception\RequirementsException;
Expand All @@ -28,7 +28,7 @@ class SetupCommand extends Command
use MigrationTrait;

/**
* @var State $state
* @var StateInterface $state
*/
protected $state;

Expand All @@ -39,9 +39,9 @@ class SetupCommand extends Command

/**
* SetupCommand constructor.
* @param State $pluginManagerMigration
* @param StateInterface $pluginManagerMigration
*/
public function __construct(State $state, MigrationPluginManagerInterface $pluginManagerMigration)
public function __construct(StateInterface $state, MigrationPluginManagerInterface $pluginManagerMigration)
{
$this->state = $state;
$this->pluginManagerMigration = $pluginManagerMigration;
Expand Down