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

src/Entity/Annotation/AnnotationBuilder.php 2 locations

@@ 138-148 (lines=11) @@
135
        $spec['entity'] = $name;
136
137
        $events = $this->getEventManager();
138
        foreach ($annotations as $annotation) {
139
            $events->trigger(
140
                __FUNCTION__,
141
                $this,
142
                [
143
                    'annotation' => $annotation,
144
                    'spec'       => $spec,
145
                    'name'       => $name
146
                ]
147
            );
148
        }
149
    }
150
151
    /**
@@ 164-174 (lines=11) @@
161
        ]);
162
163
        $events = $this->getEventManager();
164
        foreach ($annotations as $annotation) {
165
            $events->trigger(
166
                __FUNCTION__,
167
                $this,
168
                [
169
                    'annotation' => $annotation,
170
                    'spec'       => $propertySpec,
171
                    'name'       => $name
172
                ]
173
            );
174
        }
175
176
        if (!isset($spec['properties'])) {
177
            $spec['properties'] = [];