Code Duplication    Length = 8-8 lines in 2 locations

src/Model/Urls/Fetcher.php 2 locations

@@ 63-70 (lines=8) @@
60
     * @param bool $forAdmin - true for the admin URL, false for the customer URL
61
     * @return string
62
     */
63
    public function getAuthenticationUrl($forAdmin = false)
64
    {
65
        if ($forAdmin === true) {
66
            return $this->getUrl(self::ADMIN_AUTHENTICATION_URL);
67
        }
68
69
        return $this->getUrl(self::CUSTOMER_AUTHENTICATION_URL);
70
    }
71
72
    /**
73
     * Used to get either the admin or customer two factor verification URL
@@ 78-85 (lines=8) @@
75
     * @param bool $forAdmin - true for the admin URL, false for the customer URL
76
     * @return mixed
77
     */
78
    public function getVerificationUrl($forAdmin = false)
79
    {
80
        if ($forAdmin === true) {
81
            return $this->getUrl(self::ADMIN_VERIFICATION_URL);
82
        }
83
84
        return $this->getUrl(self::CUSTOMER_VERIFICATION_URL);
85
    }
86
87
    /**
88
     * Used to get the URL for the customer account page