Code Duplication    Length = 8-8 lines in 2 locations

src/IPub/Packages/Commands/DisableCommand.php 1 location

@@ 39-46 (lines=8) @@
36
	/**
37
	 * @return void
38
	 */
39
	protected function configure() : void
40
	{
41
		$this
42
			->setName('ipub:packages:disable')
43
			->addArgument('package', Input\InputArgument::REQUIRED, 'Package name')
44
			->addOption('noconfirm', NULL, Input\InputOption::VALUE_NONE, 'do not ask for any confirmation')
45
			->setDescription('Disable package.');
46
	}
47
48
	/**
49
	 * @param Input\InputInterface $input

src/IPub/Packages/Commands/EnableCommand.php 1 location

@@ 41-48 (lines=8) @@
38
	/**
39
	 * @return void
40
	 */
41
	protected function configure() : void
42
	{
43
		$this
44
			->setName('ipub:packages:enable')
45
			->addArgument('package', Input\InputArgument::REQUIRED, 'Package name')
46
			->addOption('noconfirm', NULL, Input\InputOption::VALUE_NONE, 'do not ask for any confirmation')
47
			->setDescription('Enable package.');
48
	}
49
50
	/**
51
	 * @param Input\InputInterface $input