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

src/Decoders/Mapping/Loader/AnnotationLoader.php 2 locations

@@ 280-287 (lines=8) @@
277
    private function parseDataType(Property $annotation, \ReflectionProperty $property)
278
    {
279
        if (!empty($annotation->parser)) {
280
            if (!$property->getDeclaringClass()->hasMethod($annotation->parser)) {
281
                throw new \InvalidArgumentException(sprintf(
282
                    "Custom parser function %s:%s() for property '%s' does not exist",
283
                    $property->class,
284
                    $annotation->parser,
285
                    $property->name
286
                ));
287
            }
288
            return ['custom', $annotation->parser];
289
        } elseif (!empty($annotation->type)) {
290
            return $this->parseDataTypeString($annotation->type);
@@ 308-315 (lines=8) @@
305
    private function parseVirtualDataType(VirtualProperty $annotation, \ReflectionMethod $method)
306
    {
307
        if (!empty($annotation->parser)) {
308
            if (!$method->getDeclaringClass()->hasMethod($annotation->parser)) {
309
                throw new \InvalidArgumentException(sprintf(
310
                    "Custom parser function %s:%s() for virtual property '%s' does not exist",
311
                    $method->class,
312
                    $annotation->parser,
313
                    $annotation->name
314
                ));
315
            }
316
            return ['custom', $annotation->parser];
317
        } elseif (!empty($annotation->type)) {
318
            return $this->parseDataTypeString($annotation->type);