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 = 26-30 lines in 3 locations

src/Platform/Webservices/Connector.php 3 locations

@@ 4373-4400 (lines=28) @@
4370
     *
4371
     * @return \StdClass <Patterns::{Type}Array> of <RoutePart> entries
4372
     */
4373
    public function routePlannerDescriptionDutchAddress(
4374
        $routeType,
4375
        $fromPostalCode,
4376
        $fromHousNo,
4377
        $fromStreet,
4378
        $fromCity,
4379
        $toPostalCode,
4380
        $toHousNo,
4381
        $toStreet,
4382
        $toCity,
4383
        $language
4384
    ) {
4385
        return $this->getAdapter()->call(
4386
            'routePlannerDescriptionDutchAddress',
4387
            [
4388
                'routetype'       => $routeType,
4389
                'from_postalcode' => $fromPostalCode,
4390
                'from_housno'     => $fromHousNo,
4391
                'from_street'     => $fromStreet,
4392
                'from_city'       => $fromCity,
4393
                'to_postalcode'   => $toPostalCode,
4394
                'to_housno'       => $toHousNo,
4395
                'to_street'       => $toStreet,
4396
                'to_city'         => $toCity,
4397
                'language'        => $language,
4398
            ]
4399
        );
4400
    }
4401
4402
    /**
4403
     * @param $postcodeFrom
@@ 4643-4672 (lines=30) @@
4640
     *
4641
     * @return \StdClass
4642
     */
4643
    public function routePlannerInformationAddress(
4644
        $routeType,
4645
        $fromPostalCode,
4646
        $fromHouseNo,
4647
        $fromStreet,
4648
        $fromCity,
4649
        $fromCountry,
4650
        $toPostalCode,
4651
        $toHouseNo,
4652
        $toStreet,
4653
        $toCity,
4654
        $toCountry
4655
    ) {
4656
        return $this->getAdapter()->call(
4657
            'routePlannerInformationAddress',
4658
            [
4659
                'routetype'       => $routeType,
4660
                'from_postalcode' => $fromPostalCode,
4661
                'from_houseno'    => $fromHouseNo,
4662
                'from_street'     => $fromStreet,
4663
                'from_city'       => $fromCity,
4664
                'from_country'    => $fromCountry,
4665
                'to_postalcode'   => $toPostalCode,
4666
                'to_houseno'      => $toHouseNo,
4667
                'to_street'       => $toStreet,
4668
                'to_city'         => $toCity,
4669
                'to_country'      => $toCountry,
4670
            ]
4671
        );
4672
    }
4673
4674
    /**
4675
     * @param $routeType
@@ 4687-4712 (lines=26) @@
4684
     *
4685
     * @return \StdClass
4686
     */
4687
    public function routePlannerInformationDutchAddress(
4688
        $routeType,
4689
        $toPostalCode,
4690
        $fromHousNo,
4691
        $fromStreet,
4692
        $fromCity,
4693
        $toPostalcode,
4694
        $toHousNo,
4695
        $toStreet,
4696
        $toCity
4697
    ) {
4698
        return $this->getAdapter()->call(
4699
            'routePlannerInformationDutchAddress',
4700
            [
4701
                'routetype'       => $routeType,
4702
                'from_postalcode' => $toPostalCode,
4703
                'from_housno'     => $fromHousNo,
4704
                'from_street'     => $fromStreet,
4705
                'from_city'       => $fromCity,
4706
                'to_postalcode'   => $toPostalcode,
4707
                'to_housno'       => $toHousNo,
4708
                'to_street'       => $toStreet,
4709
                'to_city'         => $toCity,
4710
            ]
4711
        );
4712
    }
4713
4714
    /**
4715
     * @param $xfrom