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/AddressBookLocation.php 1 location

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

src/Route4Me/Route.php 1 location

@@ 143-156 (lines=14) @@
140
        return $result;
141
    }
142
143
    public function duplicateRoute($route_id)
144
    {
145
        $result = Route4Me::makeRequst(array(
146
            'url'    => Endpoint::ROUTE_DUPLICATE,
147
            'method' => 'GET',
148
            'query'  => array(
149
                'api_key'  => Route4Me::getApiKey(),
150
                'route_id' => $route_id,
151
                'to'       => 'none',
152
            )
153
        ));
154
        
155
        return $result;
156
    }
157
    
158
    public function resequenceRoute($params)
159
    {