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

src/AbstractDaftObject.php 1 location

@@ 173-182 (lines=10) @@
170
    /**
171
    * {@inheritdoc}
172
    */
173
    final public static function DaftObjectJsonProperties() : array
174
    {
175
        if (false === is_a(static::class, DaftJson::class, true)) {
176
            throw new DaftObjectNotDaftJsonBadMethodCallException(
177
                static::class
178
            );
179
        }
180
181
        return static::JSON_PROPERTIES;
182
    }
183
184
    /**
185
    * {@inheritdoc}

src/AbstractArrayBackedDaftObject.php 1 location

@@ 373-380 (lines=8) @@
370
        );
371
    }
372
373
    private static function ThrowIfNotDaftJson() : void
374
    {
375
        if (false === is_a(static::class, DaftJson::class, true)) {
376
            throw new DaftObjectNotDaftJsonBadMethodCallException(
377
                static::class
378
            );
379
        }
380
    }
381
}
382