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

src/Route4Me/AvoidanceZone.php 1 location

@@ 89-100 (lines=12) @@
86
        return $abContacts;
87
    }
88
    
89
    public function deleteAvoidanceZone($territory_id)
90
    {
91
        $result = Route4Me::makeRequst(array(
92
            'url'    => Endpoint::AVOIDANCE_ZONE,
93
            'method' => 'DELETEARRAY',
94
            'query'  => array(
95
                'territory_id' => $territory_id
96
            )
97
        ));
98
99
        return $result;
100
    }
101
    
102
    public function updateAvoidanceZone($params)
103
    {

src/Route4Me/AddressBookLocation.php 1 location

@@ 152-163 (lines=12) @@
149
        return $response;
150
    }
151
    
152
    public function deleteAdressBookLocation($address_ids)
153
    {
154
        $result = Route4Me::makeRequst(array(
155
            'url'    => Endpoint::ADDRESS_BOOK_V4,
156
            'method' => 'DELETEARRAY',
157
            'query'  => array(
158
                'address_ids' => $address_ids
159
            )
160
        ));
161
162
        return $result;
163
    }
164
    
165
    public function updateAdressBookLocation($params)
166
    {

src/Route4Me/Territory.php 1 location

@@ 80-91 (lines=12) @@
77
		return $response;
78
	}
79
	
80
	public function deleteTerritory($territory_id)
81
	{
82
		$result = Route4Me::makeRequst(array(
83
			'url'    => Endpoint::TERRITORY_V4,
84
			'method' => 'DELETEARRAY',
85
			'query'  => array(
86
				'territory_id'  => $territory_id
87
			)
88
		));
89
90
		return $result;
91
	}
92
	
93
	public function updateTerritory($params)
94
	{