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

src/Service/Place/Detail/PlaceDetailService.php 1 location

@@ 236-243 (lines=8) @@
233
     *
234
     * @return AlternatePlaceId
235
     */
236
    private function buildAlternativePlaceId(array $data)
237
    {
238
        $alternativePlaceId = new AlternatePlaceId();
239
        $alternativePlaceId->setPlaceId($data['place_id']);
240
        $alternativePlaceId->setScope($data['scope']);
241
242
        return $alternativePlaceId;
243
    }
244
245
    /**
246
     * @param mixed[] $data

src/Service/Place/Search/PlaceSearchService.php 1 location

@@ 220-227 (lines=8) @@
217
     *
218
     * @return AlternatePlaceId
219
     */
220
    private function buildAlternativePlaceId(array $data)
221
    {
222
        $alternativePlaceId = new AlternatePlaceId();
223
        $alternativePlaceId->setPlaceId($data['place_id']);
224
        $alternativePlaceId->setScope($data['scope']);
225
226
        return $alternativePlaceId;
227
    }
228
229
    /**
230
     * @param mixed[] $data