Code Duplication    Length = 8-8 lines in 2 locations

Command/DeleteObsoleteCommand.php 1 location

@@ 31-38 (lines=8) @@
28
     */
29
    private $container;
30
31
    protected function configure()
32
    {
33
        $this
34
            ->setName('translation:delete-obsolete')
35
            ->setDescription('Delete all translations marked as obsolete.')
36
            ->addArgument('configuration', InputArgument::OPTIONAL, 'The configuration to use', 'default')
37
            ->addArgument('locale', InputArgument::OPTIONAL, 'The locale ot use. If omitted, we use all configured locales.', null);
38
    }
39
40
    protected function execute(InputInterface $input, OutputInterface $output)
41
    {

Command/ExtractCommand.php 1 location

@@ 28-35 (lines=8) @@
25
     */
26
    private $container;
27
28
    protected function configure()
29
    {
30
        $this
31
            ->setName('translation:extract')
32
            ->setDescription('Extract translations from source code.')
33
            ->addArgument('configuration', InputArgument::OPTIONAL, 'The configuration to use', 'default')
34
            ->addArgument('locale', InputArgument::OPTIONAL, 'The locale ot use. If omitted, we use all configured locales.', false);
35
    }
36
37
    protected function execute(InputInterface $input, OutputInterface $output)
38
    {