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

@@ 161-169 (lines=9) @@
158
     * @param array $data
159
     * @return ArrayCollection
160
     */
161
    protected function hydrateOneToMany(array $mapping, $data)
162
    {
163
        $entities = [];
164
        foreach ($data as $linkedData) {
165
            $entities[] = $this->doHydrateRowData($mapping['targetEntity'], $linkedData);
166
        }
167
168
        return new ArrayCollection($entities);
169
    }
170
171
    /**
172
     * @param array $mapping
@@ 186-194 (lines=9) @@
183
     * @param array $data
184
     * @return ArrayCollection
185
     */
186
    protected function hydrateManyToMany(array $mapping, $data)
187
    {
188
        $entities = [];
189
        foreach ($data as $linkedData) {
190
            $entities[] = $this->doHydrateRowData($mapping['targetEntity'], $linkedData);
191
        }
192
193
        return new ArrayCollection($entities);
194
    }
195
196
    /**
197
     * @param object $object