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

application/extensions/DefaultTheme/widgets/FilterSets/Widget.php 2 locations

@@ 304-322 (lines=19) @@
301
                                $filterSet->property_id,
302
                                $selection['id']
303
                            );
304
                            if ($selectedPropertyIndex !== false) {
305
                                if (count($urlParams['properties'][$filterSet->property_id]) > 1) {
306
                                    $routeParams = $urlParams;
307
                                    unset($routeParams['properties'][$filterSet->property_id][$selectedPropertyIndex]);
308
                                } else {
309
                                    $routeParams = $urlParams;
310
                                    unset($routeParams['properties'][$filterSet->property_id]);
311
                                }
312
                                if (isset($this->toUnset[$filterSet->property_id])) {
313
                                    foreach ($this->toUnset[$filterSet->property_id] as $id) {
314
                                        unset($routeParams['properties'][$id]);
315
                                    }
316
                                }
317
                            } else {
318
                                $routeParams = $this->mergeUrlProperties(
319
                                    $urlParams,
320
                                    ['properties' => [$filterSet->property_id => [$selection['id']]]]
321
                                );
322
                            }
323
                            $item['selections'][] = [
324
                                'id' => $selection['id'],
325
                                'checked' => $selectedPropertyIndex !== false,
@@ 336-354 (lines=19) @@
333
                                $filterSet->property_id,
334
                                $selection['id']
335
                            );
336
                            if ($selectedPropertyIndex !== false) {
337
                                if (count($urlParams['properties'][$filterSet->property_id]) > 1) {
338
                                    $routeParams = $urlParams;
339
                                    unset($routeParams['properties'][$filterSet->property_id][$selectedPropertyIndex]);
340
                                } else {
341
                                    $routeParams = $urlParams;
342
                                    unset($routeParams['properties'][$filterSet->property_id]);
343
                                }
344
                                if (isset($this->toUnset[$filterSet->property_id])) {
345
                                    foreach ($this->toUnset[$filterSet->property_id] as $id) {
346
                                        unset($routeParams['properties'][$id]);
347
                                    }
348
                                }
349
                            } else {
350
                                $routeParams = $this->mergeUrlProperties(
351
                                    $urlParams,
352
                                    ['properties' => [$filterSet->property_id => [$selection['id']]]]
353
                                );
354
                            }
355
                            $item['selections'][] = [
356
                                'id' => $selection['id'],
357
                                'checked' => $selectedPropertyIndex !== false,