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

src/Route4Me/AddressBookLocation.php 2 locations

@@ 196-213 (lines=18) @@
193
        }
194
    }
195
    
196
    public static function validateScheduleWeekDays($scheduleWeekDays)
197
    {
198
        $weekdays = explode(',', $scheduleWeekDays);
199
        
200
        if (sizeof($weekdays)<1) {
201
            return FALSE;
202
        }
203
        
204
        $isValid = TRUE;
205
        
206
        for ($i=0; $i<sizeof($weekdays); $i++) { 
207
            if (is_numeric($weekdays[$i])) {
208
                $wday = intval($weekdays[$i]);
209
                if ($wday<1 || $wday>7) {
210
                    $isValid = FALSE;
211
                }
212
            } else {
213
                $isValid = FALSE;
214
            }
215
        }
216
        
@@ 231-248 (lines=18) @@
228
        }
229
    }
230
    
231
    public static function validateScheduleMonthlyDates($scheduleMonthlyDates)
232
    {
233
        $monthlyDates = explode(',', $scheduleMonthlyDates);
234
        
235
        if (sizeof($monthlyDates)<1) {
236
            return FALSE;
237
        }
238
        
239
        $isValid = TRUE;
240
        
241
        for ($i=0; $i<sizeof($monthlyDates); $i++) { 
242
            if (is_numeric($monthlyDates[$i])) {
243
                $mday = intval($monthlyDates[$i]);
244
                if ($mday <1 || $mday > 31) {
245
                    $isValid = FALSE;
246
                }
247
            } else {
248
                $isValid = FALSE;
249
            }
250
        }
251