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

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