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

@@ 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
    /**
186
    * {@inheritdoc}

src/AbstractArrayBackedDaftObject.php 1 location

@@ 378-385 (lines=8) @@
375
        );
376
    }
377
378
    private static function ThrowIfNotDaftJson() : void
379
    {
380
        if (false === is_a(static::class, DaftJson::class, true)) {
381
            throw new DaftObjectNotDaftJsonBadMethodCallException(
382
                static::class
383
            );
384
        }
385
    }
386
}
387