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/AbstractArrayBackedDaftObject.php 1 location

@@ 387-394 (lines=8) @@
384
        );
385
    }
386
387
    private static function ThrowIfNotDaftJson() : void
388
    {
389
        if (false === is_a(static::class, DaftJson::class, true)) {
390
            throw new DaftObjectNotDaftJsonBadMethodCallException(
391
                static::class
392
            );
393
        }
394
    }
395
}
396

src/AbstractDaftObject.php 1 location

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