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

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

@@ 73-85 (lines=13) @@
70
     * @param IPayload
71
     * @SuppressWarnings(PHPMD.UnusedFormalParameter)
72
     */
73
    public function __construct(
74
        IValidatorIterator $validators,
75
        ISchemaValidator $schemaValidator,
76
        IPayloadMap $payloadMap,
77
        LoggerInterface $logger,
78
        IPayload $parentPayload = null
79
    ) {
80
        parent::__construct($validators, $schemaValidator, $payloadMap, $logger, $parentPayload);
81
        $this->initOptionalExtractPaths()
82
            ->initDatetimeExtractPaths()
83
            ->initSubPayloadExtractPaths()
84
            ->initSubPayloadProperties();
85
    }
86
87
    /**
88
     * Initialize the protected class property array self::optionalExtractionPaths with xpath

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

@@ 45-55 (lines=11) @@
42
     * @param IPayload
43
     * @SuppressWarnings(PHPMD.UnusedFormalParameter)
44
     */
45
    public function __construct(
46
        IValidatorIterator $validators,
47
        ISchemaValidator $schemaValidator,
48
        IPayloadMap $payloadMap,
49
        LoggerInterface $logger,
50
        IPayload $parentPayload = null
51
    ) {
52
        parent::__construct($validators, $schemaValidator, $payloadMap, $logger, $parentPayload);
53
        $this->initSubPayloadExtractPaths()
54
            ->initSubPayloadProperties();
55
    }
56
57
    /**
58
     * Initialize the protected class property array self::optionalExtractionPaths with xpath