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

src/Route4Me/AddressBookLocation.php 1 location

@@ 67-79 (lines=13) @@
64
    
65
    
66
    
67
    public static function getAddressBookLocation($addressId)
68
    {
69
        $ablocations = Route4Me::makeRequst(array(
70
            'url'    => Endpoint::ADDRESS_BOOK_V4,
71
            'method' => 'GET',
72
            'query'  => array(
73
                'query' => $addressId,
74
                'limit' => 30
75
            )
76
        ));
77
78
        return $ablocations;
79
    }
80
    
81
    public static function searchAddressBookLocations($params)
82
    {

src/Route4Me/Route.php 2 locations

@@ 131-143 (lines=13) @@
128
        return $result;
129
    }
130
131
    public function duplicateRoute($route_id)
132
    {
133
        $result = Route4Me::makeRequst(array(
134
            'url'    => Endpoint::ROUTE_DUPLICATE,
135
            'method' => 'GET',
136
            'query'  => array(
137
                'route_id' => $route_id,
138
                'to'       => 'none',
139
            )
140
        ));
141
        
142
        return $result;
143
    }
144
    
145
    public function resequenceRoute($params)
146
    {
@@ 331-342 (lines=12) @@
328
        return $result;
329
    }
330
331
    public function deleteRoutes($route_id)
332
    {
333
         $result = Route4Me::makeRequst(array(
334
            'url'    => Endpoint::ROUTES_DELETE,
335
            'method' => 'DELETE',
336
            'query'  => array(
337
                'route_id' => $route_id,
338
            )
339
        ));
340
        
341
        return $result;
342
    }
343
    
344
    public function GetAddressesFromRoute($route_id)
345
    {