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, $body)
126
    {
@@ 174-186 (lines=13) @@
171
        return $address;
172
    }
173
174
    public function delete()
175
    {
176
        $address = Route4Me::makeRequst(array(
177
            'url'    => Endpoint::ADDRESS_V4,
178
            'method' => 'DELETE',
179
            'query'  => array(
180
                'route_id'             => $this->route_id,
181
                'route_destination_id' => $this->route_destination_id,
182
            )
183
        ));
184
    
185
        return (bool)$address['deleted'];
186
    }
187
    
188
    public function moveDestinationToRoute($params)
189
    {