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 = 13-14 lines in 2 locations

src/Route4Me/Address.php 2 locations

@@ 110-123 (lines=14) @@
107
        return $address;
108
    }
109
110
    public function update()
111
    {
112
        $addressUpdate = Route4Me::makeRequst(array(
113
            'url'    => Endpoint::ADDRESS_V4,
114
            'method' => 'PUT',
115
            'body'   => $this->toArray(),
116
            'query'  => array(
117
                'route_id'             => $this->route_id,
118
                'route_destination_id' => $this->route_destination_id,
119
            ),
120
        ));
121
    
122
        return Address::fromArray($addressUpdate);
123
    }
124
    
125
    public function markAddress($params)
126
    {
@@ 166-178 (lines=13) @@
163
        return $address;
164
    }
165
166
    public function deleteAddress()
167
    {
168
        $address = Route4Me::makeRequst(array(
169
            'url'    => Endpoint::ADDRESS_V4,
170
            'method' => 'DELETE',
171
            'query'  => array(
172
                'route_id'             => $this->route_id,
173
                'route_destination_id' => $this->route_destination_id,
174
            )
175
        ));
176
    
177
        return (bool)$address['deleted'];
178
    }
179
    
180
    public function moveDestinationToRoute($params)
181
    {