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 = 13-13 lines in 3 locations

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

@@ 135-147 (lines=13) @@
132
        $metadata = new ObjectMetadata($class->name);
133
134
        $properties = $class->getProperties();
135
        foreach ($properties as $property) {
136
            if ($property->getDeclaringClass()->name !== $class->name) {
137
                continue;
138
            }
139
140
            $annotation = $this->reader->getPropertyAnnotation($property, Property::class);
141
            /* @var $annotation Property */
142
            if (null === $annotation) {
143
                continue;
144
            }
145
146
            $metadata->addProperty($this->loadPropertyMetadata($annotation, $property));
147
        }
148
149
        $methods = $class->getMethods(\ReflectionMethod::IS_PUBLIC);
150
        foreach ($methods as $method) {
@@ 150-162 (lines=13) @@
147
        }
148
149
        $methods = $class->getMethods(\ReflectionMethod::IS_PUBLIC);
150
        foreach ($methods as $method) {
151
            if ($method->getDeclaringClass()->name !== $class->name) {
152
                continue;
153
            }
154
155
            $annotation = $this->reader->getMethodAnnotation($method, VirtualProperty::class);
156
            /* @var $annotation VirtualProperty */
157
            if ($annotation === null) {
158
                continue;
159
            }
160
161
            $metadata->addProperty($this->loadVirtualMetadata($annotation, $method));
162
        }
163
164
        if (null !== $object) {
165
            $this->loadDiscriminatorMetadata($object, $metadata);
@@ 184-196 (lines=13) @@
181
        $metadata->setAllowEmpty($document->allowEmpty);
182
183
        $properties = $class->getProperties();
184
        foreach ($properties as $property) {
185
            if ($property->getDeclaringClass()->name !== $class->name) {
186
                continue;
187
            }
188
189
            $annotation = $this->reader->getPropertyAnnotation($property, ApiContent::class);
190
            /* @var $annotation ApiContent */
191
            if (null !== $annotation) {
192
                $metadata->setContentMetadata($this->loadPropertyMetadata($annotation, $property));
193
194
                break;
195
            }
196
        }
197
198
        return $metadata;
199
    }