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

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

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