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

src/eBayEnterprise/RetailOrderManagement/Payload/Order/Detail/OrderDetailItem.php 1 location

@@ 413-426 (lines=14) @@
410
        return $this;
411
    }
412
413
    protected function getRootAttributes()
414
    {
415
        $hasChainedLines = $this->getHasChainedLines();
416
        $hasDerivedChild = $this->getHasDerivedChild();
417
        $chainedFromOrderHeaderKey = $this->getChainedFromOrderHeaderKey();
418
        $derivedFromOrderHeaderKey = $this->getDerivedFromOrderHeaderKey();
419
        return array_merge(
420
            parent::getRootAttributes(),
421
            !empty($hasChainedLines) ? ['hasChainedLines' => $hasChainedLines] : [],
422
            !empty($hasDerivedChild) ? ['hasDerivedChild' => $hasDerivedChild] : [],
423
            $chainedFromOrderHeaderKey ? ['chainedFromOrderHeaderKey' => $chainedFromOrderHeaderKey] : [],
424
            $derivedFromOrderHeaderKey ? ['derivedFromOrderHeaderKey' => $derivedFromOrderHeaderKey] : []
425
        );
426
    }
427
428
    protected function serializeContents()
429
    {

src/eBayEnterprise/RetailOrderManagement/Payload/Order/Detail/OrderResponse.php 1 location

@@ 702-714 (lines=13) @@
699
    /**
700
     * @see TPayload::getRootAttributes()
701
     */
702
    protected function getRootAttributes()
703
    {
704
        $customerOrderId = $this->getCustomerOrderId();
705
        $levelOfService = $this->getLevelOfService();
706
        $hasChainedLines = $this->getHasChainedLines();
707
        $hasDerivedChild = $this->getHasDerivedChild();
708
        return array_merge(
709
            $customerOrderId ? ['customerOrderId' => $customerOrderId] : [],
710
            $levelOfService ? ['levelOfService' => $levelOfService] : [],
711
            !empty($hasChainedLines) ? ['hasChainedLines' => $hasChainedLines] : [],
712
            !empty($hasDerivedChild) ? ['hasDerivedChild' => $hasDerivedChild] : []
713
        );
714
    }
715
716
    /**
717
     * Serialize the OrderSource XML node.