Code Duplication    Length = 17-17 lines in 2 locations

src/Surfnet/StepupSelfService/SelfServiceBundle/Security/Authentication/Handler/InitiateSamlAuthenticationHandler.php 1 location

@@ 72-88 (lines=17) @@
69
     */
70
    private $logger;
71
72
    public function __construct(
73
        TokenStorageInterface $tokenStorageInterface,
74
        AuthenticatedSessionStateHandler $authenticatedSession,
75
        SamlAuthenticationStateHandler $samlAuthenticationStateHandler,
76
        SamlInteractionProvider $samlInteractionProvider,
77
        RouterInterface $router,
78
        SamlAuthenticationLogger $authenticationLogger,
79
        LoggerInterface $logger
80
    ) {
81
        $this->tokenStorage                   = $tokenStorageInterface;
82
        $this->authenticatedSession           = $authenticatedSession;
83
        $this->samlAuthenticationStateHandler = $samlAuthenticationStateHandler;
84
        $this->samlInteractionProvider        = $samlInteractionProvider;
85
        $this->router                         = $router;
86
        $this->authenticationLogger           = $authenticationLogger;
87
        $this->logger                         = $logger;
88
    }
89
90
    public function process(GetResponseEvent $event)
91
    {

src/Surfnet/StepupSelfService/SelfServiceBundle/Security/Authentication/Handler/ProcessSamlAuthenticationHandler.php 1 location

@@ 84-100 (lines=17) @@
81
     */
82
    private $templating;
83
84
    public function __construct(
85
        TokenStorageInterface $tokenStorage,
86
        SamlInteractionProvider $samlInteractionProvider,
87
        SamlAuthenticationStateHandler $authenticationStateHandler,
88
        AuthenticatedSessionStateHandler $authenticatedSession,
89
        AuthenticationManagerInterface $authenticationManager,
90
        SamlAuthenticationLogger $authenticationLogger,
91
        EngineInterface $templating
92
    ) {
93
        $this->tokenStorage               = $tokenStorage;
94
        $this->samlInteractionProvider    = $samlInteractionProvider;
95
        $this->authenticationStateHandler = $authenticationStateHandler;
96
        $this->authenticatedSession       = $authenticatedSession;
97
        $this->authenticationManager      = $authenticationManager;
98
        $this->authenticationLogger       = $authenticationLogger;
99
        $this->templating                 = $templating;
100
    }
101
102
    public function process(GetResponseEvent $event)
103
    {