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

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

src/Service/Geocoder/GeocoderProvider.php 1 location

@@ 135-142 (lines=8) @@
132
     *
133
     * @return GeocoderResponse
134
     */
135
    private function buildResponse(array $data)
136
    {
137
        $response = new GeocoderResponse();
138
        $response->setStatus($data['status']);
139
        $response->setResults($this->buildResults($data['results']));
140
141
        return $response;
142
    }
143
144
    /**
145
     * @param mixed[] $data