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

@@ 288-295 (lines=8) @@
285
    private function parseDataType(Property $annotation, \ReflectionProperty $property)
286
    {
287
        if (!empty($annotation->parser)) {
288
            if (!$property->getDeclaringClass()->hasMethod($annotation->parser)) {
289
                throw new \InvalidArgumentException(sprintf(
290
                    "Custom parser function %s:%s() for property '%s' does not exist",
291
                    $property->class,
292
                    $annotation->parser,
293
                    $property->name
294
                ));
295
            }
296
            return ['custom', $annotation->parser];
297
        } elseif (!empty($annotation->type)) {
298
            return $this->parseDataTypeString($annotation->type);
@@ 316-323 (lines=8) @@
313
    private function parseVirtualDataType(VirtualProperty $annotation, \ReflectionMethod $method)
314
    {
315
        if (!empty($annotation->parser)) {
316
            if (!$method->getDeclaringClass()->hasMethod($annotation->parser)) {
317
                throw new \InvalidArgumentException(sprintf(
318
                    "Custom parser function %s:%s() for virtual property '%s' does not exist",
319
                    $method->class,
320
                    $annotation->parser,
321
                    $annotation->name
322
                ));
323
            }
324
            return ['custom', $annotation->parser];
325
        } elseif (!empty($annotation->type)) {
326
            return $this->parseDataTypeString($annotation->type);