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

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

@@ 114-123 (lines=10) @@
111
        }
112
113
        $properties = $class->getProperties();
114
        foreach ($properties as $property) {
115
            if ($property->getDeclaringClass()->name !== $class->name) {
116
                continue;
117
            }
118
119
            $annotation = $this->reader->getPropertyAnnotation($property, Property::class);
120
            if (null !== $annotation) {
121
                $metadata->addProperty($this->loadPropertyMetadata($annotation, $property));
122
            }
123
        }
124
125
        return $metadata;
126
    }
@@ 141-152 (lines=12) @@
138
        $metadata->setAllowEmpty($document->allowEmpty);
139
140
        $properties = $class->getProperties();
141
        foreach ($properties as $property) {
142
            if ($property->getDeclaringClass()->name !== $class->name) {
143
                continue;
144
            }
145
146
            $annotation = $this->reader->getPropertyAnnotation($property, ApiContent::class);
147
            if (null !== $annotation) {
148
                $metadata->setContentMetadata($this->loadPropertyMetadata($annotation, $property));
149
150
                break;
151
            }
152
        }
153
154
        return $metadata;
155
    }