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 2 locations

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

@@ 142-154 (lines=13) @@
139
        $metadata = new ObjectMetadata($class->name);
140
141
        $properties = $class->getProperties();
142
        foreach ($properties as $property) {
143
            if ($property->getDeclaringClass()->name !== $class->name) {
144
                continue;
145
            }
146
147
            $annotation = $this->reader->getPropertyAnnotation($property, Property::class);
148
            /* @var $annotation Property */
149
            if (null === $annotation) {
150
                continue;
151
            }
152
153
            $metadata->addProperty($this->loadPropertyMetadata($annotation, $property));
154
        }
155
156
        $methods = $class->getMethods(\ReflectionMethod::IS_PUBLIC);
157
        foreach ($methods as $method) {
@@ 157-169 (lines=13) @@
154
        }
155
156
        $methods = $class->getMethods(\ReflectionMethod::IS_PUBLIC);
157
        foreach ($methods as $method) {
158
            if ($method->getDeclaringClass()->name !== $class->name) {
159
                continue;
160
            }
161
162
            $annotation = $this->reader->getMethodAnnotation($method, VirtualProperty::class);
163
            /* @var $annotation VirtualProperty */
164
            if ($annotation === null) {
165
                continue;
166
            }
167
168
            $metadata->addProperty($this->loadVirtualMetadata($annotation, $method));
169
        }
170
171
        if (null !== $object) {
172
            $this->loadDiscriminatorMetadata($object, $metadata);