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

src/Parser/Reflection/Extractors/ClassTraitElementsExtractor.php 2 locations

@@ 74-85 (lines=12) @@
71
    /**
72
     * @return PropertyReflectionInterface[]
73
     */
74
    public function getTraitProperties(): array
75
    {
76
        $properties = [];
77
        $traitProperties = $this->originalReflection->getTraitProperties($this->classReflection->getVisibilityLevel());
78
        foreach ($traitProperties as $property) {
79
            $apiProperty = $this->classReflection->getReflectionFactory()->createFromReflection($property);
80
            if (! $this->classReflection->isDocumented() || $apiProperty->isDocumented()) {
81
                $properties[$property->getName()] = $apiProperty;
82
            }
83
        }
84
85
        return $properties;
86
    }
87
88
    /**
@@ 91-101 (lines=11) @@
88
    /**
89
     * @return MethodReflectionInterface[]
90
     */
91
    public function getTraitMethods(): array
92
    {
93
        $methods = [];
94
        foreach ($this->originalReflection->getTraitMethods($this->classReflection->getVisibilityLevel()) as $method) {
95
            $apiMethod = $this->classReflection->getReflectionFactory()->createFromReflection($method);
96
            if (! $this->classReflection->isDocumented() || $apiMethod->isDocumented()) {
97
                $methods[$method->getName()] = $apiMethod;
98
            }
99
        }
100
101
        return $methods;
102
    }
103
104
    /**