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/AbstractDaftObject.php 2 locations

@@ 216-228 (lines=13) @@
213
214
                $setter = 'Set' . ucfirst($property);
215
216
                if (
217
                    $refreshGetters &&
218
                    $classReflection->hasMethod($getter) &&
219
                    (
220
                        $methodReflection = new ReflectionMethod(
221
                            static::class,
222
                            $getter
223
                        )
224
                    )->isPublic() &&
225
                    false === $methodReflection->isStatic()
226
                ) {
227
                    self::$publicGetters[static::class][] = $property;
228
                }
229
230
                if (
231
                    $refreshSetters &&
@@ 230-242 (lines=13) @@
227
                    self::$publicGetters[static::class][] = $property;
228
                }
229
230
                if (
231
                    $refreshSetters &&
232
                    $classReflection->hasMethod($setter) &&
233
                    (
234
                        $methodReflection = new ReflectionMethod(
235
                            static::class,
236
                            $setter
237
                        )
238
                    )->isPublic() &&
239
                    false === $methodReflection->isStatic()
240
                ) {
241
                    self::$publicSetters[static::class][] = $property;
242
                }
243
            }
244
        }
245
    }