Code Duplication    Length = 15-17 lines in 2 locations

Controller/PasswordResetController.php 1 location

@@ 51-67 (lines=17) @@
48
     * @param Translator $translator
49
     * @param FlashBagInterface $flashBag
50
     */
51
    public function __construct(
52
        UserRepositoryCollection $userRepositoryCollection,
53
        ResetPasswordHandler $resetPasswordHandler,
54
        Router $router,
55
        FormFactoryInterface $formFactory,
56
        EngineInterface $templating,
57
        Translator $translator,
58
        FlashBagInterface $flashBag
59
    ) {
60
        $this->userRepositoryCollection = $userRepositoryCollection;
61
        $this->resetPasswordHandler = $resetPasswordHandler;
62
        $this->router = $router;
63
        $this->formFactory = $formFactory;
64
        $this->templating = $templating;
65
        $this->translator = $translator;
66
        $this->flashBag = $flashBag;
67
    }
68
69
    /**
70
     * @param Request $request

Controller/RequestPasswordResetController.php 1 location

@@ 46-60 (lines=15) @@
43
     * @param Translator $translator
44
     * @param FlashBagInterface $flashBag
45
     */
46
    public function __construct(
47
        EngineInterface $templating,
48
        FormFactoryInterface $formFactory,
49
        RequestPasswordResetHandler $requestPasswordResetHandler,
50
        Router $router,
51
        Translator $translator,
52
        FlashBagInterface $flashBag
53
    ) {
54
        $this->templating = $templating;
55
        $this->formFactory = $formFactory;
56
        $this->requestPasswordResetHandler = $requestPasswordResetHandler;
57
        $this->router = $router;
58
        $this->translator = $translator;
59
        $this->flashBag = $flashBag;
60
    }
61
62
    /**
63
     * @param Request $request