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

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

@@ 189-201 (lines=13) @@
186
        return $this->jurisdictionLevel;
187
    }
188
189
    public function setJurisdictionLevel($jurisdictionLevel)
190
    {
191
        $isAllowed = in_array($jurisdictionLevel, $this->allowedJurisdictionLevels);
192
        $this->jurisdictionLevel = $isAllowed ? $jurisdictionLevel : null;
193
        if (!$isAllowed) {
194
            $logData = ['jurisdiction_level' => $jurisdictionLevel];
195
            $this->logger->warning(
196
                'Jurisdiction Level "{jurisdiction_level}" is not allowed.',
197
                $this->getLogContextData(__CLASS__, $logData)
198
            );
199
        }
200
        return $this;
201
    }
202
    public function getJurisdictionId()
203
    {
204
        return $this->jurisdictionId;

src/eBayEnterprise/RetailOrderManagement/Payload/Payment/ProtectPanRequest.php 1 location

@@ 81-93 (lines=13) @@
78
        return $this->tenderClass;
79
    }
80
81
    public function setTenderClass($tenderClass)
82
    {
83
        $isAllowed = in_array($tenderClass, $this->tenderClassEnum);
84
        $this->tenderClass = $isAllowed ? $tenderClass : null;
85
        if (!$isAllowed) {
86
            $logData = ['tender_class' => $tenderClass];
87
            $this->logger->warning(
88
                'Tender Class "{tender_class}" is not allowed.',
89
                $this->getLogContextData(__CLASS__, $logData)
90
            );
91
        }
92
        return $this;
93
    }
94
95
    /**
96
     * Serialize the various parts of the payload into XML strings and