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 = 10-10 lines in 2 locations

src/eBayEnterprise/RetailOrderManagement/Payload/Order/TGifting.php 1 location

@@ 328-337 (lines=10) @@
325
     *
326
     * @return self
327
     */
328
    protected function deserializeGiftPricing(DOMXPath $xpath)
329
    {
330
        $priceNode = $xpath->query('x:Gifting/x:Gift/x:Pricing')->item(0);
331
        if ($priceNode) {
332
            $this->setGiftPricing(
333
                $this->getEmptyGiftingPriceGroup()->deserialize($priceNode->C14N())
334
            );
335
        }
336
        return $this;
337
    }
338
339
    /**
340
     * Serialize an optional element containing a string. The value will be

src/eBayEnterprise/RetailOrderManagement/Payload/TaxDutyFee/TGiftingBase.php 1 location

@@ 86-95 (lines=10) @@
83
     *
84
     * @return self
85
     */
86
    protected function deserializeGiftPricing(DOMXPath $xpath)
87
    {
88
        $priceNode = $xpath->query('x:Gifting/x:Pricing')->item(0);
89
        if ($priceNode) {
90
            $this->setGiftPricing(
91
                $this->getEmptyGiftPriceGroup()->deserialize($priceNode->C14N())
92
            );
93
        }
94
        return $this;
95
    }
96
97
    /**
98
     * @return IAbstractPriceGroup