GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 11-11 lines in 2 locations

src/app/code/community/EbayEnterprise/Catalog/Helper/Map/Giftcard.php 1 location

@@ 48-58 (lines=11) @@
45
     * @param string $type the gift card type in this set (virtual, physical, and combined)
46
     * @return int|null
47
     */
48
    protected function _getGiftCardType($type)
49
    {
50
        switch ($type) {
51
            case self::GIFTCARD_PHYSICAL:
52
                return Enterprise_GiftCard_Model_Giftcard::TYPE_PHYSICAL;
53
            case self::GIFTCARD_COMBINED:
54
                return Enterprise_GiftCard_Model_Giftcard::TYPE_COMBINED;
55
            default:
56
                return Enterprise_GiftCard_Model_Giftcard::TYPE_VIRTUAL;
57
        }
58
    }
59
60
    /**
61
     * extract the giftcard tender code from the DOMNOdeList object

src/app/code/community/EbayEnterprise/Catalog/Helper/Map.php 1 location

@@ 256-266 (lines=11) @@
253
     * @see Enterprise_GiftCard_Model_Giftcard
254
     * @return int|null
255
     */
256
    protected function _getGiftCardType($type)
257
    {
258
        switch ($type) {
259
            case self::GIFTCARD_PHYSICAL:
260
                return Enterprise_GiftCard_Model_Giftcard::TYPE_PHYSICAL;
261
            case self::GIFTCARD_COMBINED:
262
                return Enterprise_GiftCard_Model_Giftcard::TYPE_COMBINED;
263
            default:
264
                return Enterprise_GiftCard_Model_Giftcard::TYPE_VIRTUAL;
265
        }
266
    }
267
    /**
268
     * extract the giftcard tender code from the DOMNOdeList object get its map value
269
     * from the config and then return the actual constant to the know magento gift card sets