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

Hydrator/ReadOnlyHydrator.php 2 locations

@@ 178-186 (lines=9) @@
175
     * @param array $data
176
     * @return ArrayCollection
177
     */
178
    protected function hydrateOneToMany(array $mapping, $data)
179
    {
180
        $entities = [];
181
        foreach ($data as $linkedData) {
182
            $entities[] = static::hydrateRowDataReadOnly($mapping['targetEntity'], $linkedData);
183
        }
184
185
        return new ArrayCollection($entities);
186
    }
187
188
    /**
189
     * @param array $mapping
@@ 203-211 (lines=9) @@
200
     * @param array $data
201
     * @return ArrayCollection
202
     */
203
    protected function hydrateManyToMany(array $mapping, $data)
204
    {
205
        $entities = [];
206
        foreach ($data as $linkedData) {
207
            $entities[] = static::hydrateRowDataReadOnly($mapping['targetEntity'], $linkedData);
208
        }
209
210
        return new ArrayCollection($entities);
211
    }
212
213
    /**
214
     * @param string $className