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

application/modules/core/models/ContentBlock.php 1 location

@@ 54-65 (lines=12) @@
51
    /**
52
     * @inheritdoc
53
     */
54
    public function attributeLabels()
55
    {
56
        return [
57
            'id' => 'ID',
58
            'name' => Yii::t('app', 'Name'),
59
            'key' => Yii::t('app', 'Key'),
60
            'value' => Yii::t('app', 'Value'),
61
            'preload' => Yii::t('app', 'Preload'),
62
            'group_id' => Yii::t('app', 'Group Id'),
63
            'newGroup' => Yii::t('app', 'New Group'),
64
        ];
65
    }
66
67
    /**
68
     * @inheritdoc

application/modules/shop/models/Discount.php 1 location

@@ 65-75 (lines=11) @@
62
    /**
63
     * @inheritdoc
64
     */
65
    public function attributeLabels()
66
    {
67
        return [
68
            'id' => Yii::t('app', 'ID'),
69
            'name' => Yii::t('app', 'Name'),
70
            'appliance' => Yii::t('app', 'Appliance'),
71
            'value' => Yii::t('app', 'Value'),
72
            'value_in_percent' => Yii::t('app', 'Value In Percent'),
73
            'apply_order_price_lg' => Yii::t('app', 'Apply Order Price Lg'),
74
        ];
75
    }
76
77
    /**
78
     * @return array