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

@@ 244-262 (lines=19) @@
241
                                $filterSet->property_id,
242
                                $selection['id']
243
                            );
244
                            if ($selectedPropertyIndex !== false) {
245
                                if (count($urlParams['properties'][$filterSet->property_id]) > 1) {
246
                                    $routeParams = $urlParams;
247
                                    unset($routeParams['properties'][$filterSet->property_id][$selectedPropertyIndex]);
248
                                } else {
249
                                    $routeParams = $urlParams;
250
                                    unset($routeParams['properties'][$filterSet->property_id]);
251
                                }
252
                                if (isset($this->toUnset[$filterSet->property_id])) {
253
                                    foreach ($this->toUnset[$filterSet->property_id] as $id) {
254
                                        unset($routeParams['properties'][$id]);
255
                                    }
256
                                }
257
                            } else {
258
                                $routeParams = $this->mergeUrlProperties(
259
                                    $urlParams,
260
                                    ['properties' => [$filterSet->property_id => [$selection['id']]]]
261
                                );
262
                            }
263
                            $item['selections'][] = [
264
                                'id' => $selection['id'],
265
                                'checked' => $selectedPropertyIndex !== false,
@@ 276-294 (lines=19) @@
273
                                $filterSet->property_id,
274
                                $selection['id']
275
                            );
276
                            if ($selectedPropertyIndex !== false) {
277
                                if (count($urlParams['properties'][$filterSet->property_id]) > 1) {
278
                                    $routeParams = $urlParams;
279
                                    unset($routeParams['properties'][$filterSet->property_id][$selectedPropertyIndex]);
280
                                } else {
281
                                    $routeParams = $urlParams;
282
                                    unset($routeParams['properties'][$filterSet->property_id]);
283
                                }
284
                                if (isset($this->toUnset[$filterSet->property_id])) {
285
                                    foreach ($this->toUnset[$filterSet->property_id] as $id) {
286
                                        unset($routeParams['properties'][$id]);
287
                                    }
288
                                }
289
                            } else {
290
                                $routeParams = $this->mergeUrlProperties(
291
                                    $urlParams,
292
                                    ['properties' => [$filterSet->property_id => [$selection['id']]]]
293
                                );
294
                            }
295
                            $item['selections'][] = [
296
                                'id' => $selection['id'],
297
                                'checked' => $selectedPropertyIndex !== false,