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

src/Service/DistanceMatrix/DistanceMatrix.php 1 location

@@ 147-155 (lines=9) @@
144
     *
145
     * @return Fare
146
     */
147
    private function buildFare(array $data)
148
    {
149
        $fare = new Fare();
150
        $fare->setCurrency($data['currency']);
151
        $fare->setValue($data['value']);
152
        $fare->setText($data['text']);
153
154
        return $fare;
155
    }
156
157
    /**
158
     * @param mixed[] $data

src/Service/Direction/Direction.php 1 location

@@ 216-224 (lines=9) @@
213
     *
214
     * @return Fare
215
     */
216
    private function buildFare(array $data)
217
    {
218
        $fare = new Fare();
219
        $fare->setCurrency($data['currency']);
220
        $fare->setValue($data['value']);
221
        $fare->setText($data['text']);
222
223
        return $fare;
224
    }
225
226
    /**
227
     * @param mixed[] $data