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

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