Code Duplication    Length = 12-12 lines in 2 locations

src/Surfnet/StepupMiddleware/MiddlewareBundle/Console/Command/BootstrapIdentityWithYubikeySecondFactorCommand.php 1 location

@@ 76-87 (lines=12) @@
73
            );
74
    }
75
76
    public function __construct(
77
        ServiceEntityRepository $projectionRepository,
78
        TransactionAwarePipeline $pipeline,
79
        BufferedEventBus $eventBus,
80
        DBALConnectionHelper $connection
81
    ) {
82
        parent::__construct();
83
        $this->projectionRepository = $projectionRepository;
84
        $this->pipeline = $pipeline;
85
        $this->eventBus = $eventBus;
86
        $this->connection = $connection;
87
    }
88
89
    protected function execute(InputInterface $input, OutputInterface $output)
90
    {

src/Surfnet/StepupMiddleware/MiddlewareBundle/Console/Command/EmailVerifiedSecondFactorRemindersCommand.php 1 location

@@ 84-95 (lines=12) @@
81
            );
82
    }
83
84
    public function __construct(
85
        TransactionAwarePipeline $pipeline,
86
        BufferedEventBus $eventBus,
87
        DBALConnectionHelper $connection,
88
        LoggerInterface $logger
89
    ) {
90
        $this->pipeline = $pipeline;
91
        $this->eventBus = $eventBus;
92
        $this->connection = $connection;
93
        $this->logger = $logger;
94
        parent::__construct();
95
    }
96
97
    protected function execute(InputInterface $input, OutputInterface $output)
98
    {