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

application/backend/controllers/PropertiesController.php 2 locations

@@ 451-468 (lines=18) @@
448
        );
449
    }
450
451
    public function actionDeleteProperty($id, $property_group_id)
452
    {
453
        /** @var Property $model */
454
        $model = Property::findOne($id);
455
        if (is_null($model)) {
456
            throw new NotFoundHttpException;
457
        }
458
        $model->delete();
459
        Yii::$app->session->setFlash('danger', Yii::t('app', 'Object removed'));
460
        return $this->redirect(
461
            Url::to(
462
                [
463
                    '/backend/properties/group',
464
                    'id'=>$property_group_id,
465
                ]
466
            )
467
        );
468
    }
469
470
    public function actionRemoveAllProperties($group_id)
471
    {
@@ 482-498 (lines=17) @@
479
        return $this->redirect(['group', 'id' => $group_id]);
480
    }
481
482
    public function actionDeleteGroup($id)
483
    {
484
        /** @var PropertyGroup $model */
485
        $model = PropertyGroup::findOne($id);
486
        if (is_null($model)) {
487
            throw new NotFoundHttpException;
488
        }
489
        $model->delete();
490
        Yii::$app->session->setFlash('danger', Yii::t('app', 'Object removed'));
491
        return $this->redirect(
492
            Url::to(
493
                [
494
                    '/backend/properties/index',
495
                ]
496
            )
497
        );
498
    }
499
500
    public function actionRemoveAllGroups()
501
    {