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

@@ 134-142 (lines=9) @@
131
     * @param array $data
132
     * @return ArrayCollection
133
     */
134
    protected function hydrateOneToMany(array $mapping, $data)
135
    {
136
        $entities = [];
137
        foreach ($data as $linkedData) {
138
            $entities[] = $this->doHydrateRowData($mapping['targetEntity'], $linkedData);
139
        }
140
141
        return new ArrayCollection($entities);
142
    }
143
144
    /**
145
     * @param array $mapping
@@ 159-167 (lines=9) @@
156
     * @param array $data
157
     * @return ArrayCollection
158
     */
159
    protected function hydrateManyToMany(array $mapping, $data)
160
    {
161
        $entities = [];
162
        foreach ($data as $linkedData) {
163
            $entities[] = $this->doHydrateRowData($mapping['targetEntity'], $linkedData);
164
        }
165
166
        return new ArrayCollection($entities);
167
    }
168
169
    /**
170
     * @param string $className