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

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