Code Duplication    Length = 8-8 lines in 2 locations

Model/Urls/Fetcher.php 2 locations

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