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

src/Platform/Webservices/Connector.php 2 locations

@@ 4462-4481 (lines=20) @@
4459
     *
4460
     * @return \StdClass
4461
     */
4462
    public function routePlannerEUDescriptionCoordinatesLatLon(
4463
        $latitudeFrom,
4464
        $longitudeFrom,
4465
        $latitudeTo,
4466
        $longitudeTo,
4467
        $routeType,
4468
        $language
4469
    ) {
4470
        return $this->getAdapter()->call(
4471
            'routePlannerEUDescriptionCoordinatesLatLon',
4472
            [
4473
                'latitudefrom'  => $latitudeFrom,
4474
                'longitudefrom' => $longitudeFrom,
4475
                'latitudeto'    => $latitudeTo,
4476
                'longitudeto'   => $longitudeTo,
4477
                'routetype'     => $routeType,
4478
                'language'      => $language,
4479
            ]
4480
        );
4481
    }
4482
4483
    /**
4484
     * @param $latitudeFrom
@@ 4492-4509 (lines=18) @@
4489
     *
4490
     * @return \StdClass
4491
     */
4492
    public function routePlannerEUInformation(
4493
        $latitudeFrom,
4494
        $longitudeFrom,
4495
        $latitudeTo,
4496
        $longitudeTo,
4497
        $routeType
4498
    ) {
4499
        return $this->getAdapter()->call(
4500
            'routePlannerEUInformation',
4501
            [
4502
                'latitudefrom'  => $latitudeFrom,
4503
                'longitudefrom' => $longitudeFrom,
4504
                'latitudeto'    => $latitudeTo,
4505
                'longitudeto'   => $longitudeTo,
4506
                'routetype'     => $routeType,
4507
            ]
4508
        );
4509
    }
4510
4511
    /**
4512
     * @param $latitudeFrom