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

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

@@ 478-481 (lines=4) @@
475
            'createTime' => 'string(x:Order/x:CreateTime)',
476
            'dateOfBirth' => 'string(x:Order/x:Customer/x:DateOfBirth)',
477
        ];
478
        foreach ($dateProperties as $prop => $extractPath) {
479
            $value = $xpath->evaluate($extractPath);
480
            $this->$prop = $value ? new DateTime($value) : null;
481
        }
482
        return $this;
483
    }
484

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

@@ 612-615 (lines=4) @@
609
            'namedDeliveryTimeWindowStart' => 'string(x:NamedDeliveryDate/x:TimeWindowStart)',
610
            'namedDeliveryTimeWindowEnd' => 'string(x:NamedDeliveryDate/x:TimeWindowEnd)',
611
        ];
612
        foreach ($dateProperties as $prop => $extractPath) {
613
            $value = $xpath->evaluate($extractPath);
614
            $this->$prop = $value ? new DateTime($value) : null;
615
        }
616
        return $this;
617
    }
618