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/Elevation/ElevationService.php 1 location

@@ 61-68 (lines=8) @@
58
     *
59
     * @return ElevationResponse
60
     */
61
    private function buildResponse(array $data)
62
    {
63
        $response = new ElevationResponse();
64
        $response->setStatus($data['status']);
65
        $response->setResults($this->buildResults($data['results']));
66
67
        return $response;
68
    }
69
70
    /**
71
     * @param mixed[] $data

src/Service/Geocoder/GeocoderService.php 1 location

@@ 70-77 (lines=8) @@
67
     *
68
     * @return GeocoderResponse
69
     */
70
    private function buildResponse(array $data)
71
    {
72
        $response = new GeocoderResponse();
73
        $response->setStatus($data['status']);
74
        $response->setResults($this->buildResults($data['results']));
75
76
        return $response;
77
    }
78
79
    /**
80
     * @param mixed[] $data