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-11 lines in 3 locations

application/models/PropertyGroup.php 1 location

@@ 69-79 (lines=11) @@
66
    /**
67
     * @inheritdoc
68
     */
69
    public function attributeLabels()
70
    {
71
        return [
72
            'id' => Yii::t('app', 'ID'),
73
            'object_id' => Yii::t('app', 'Object ID'),
74
            'name' => Yii::t('app', 'Name'),
75
            'sort_order' => Yii::t('app', 'Sort Order'),
76
            'is_internal' => Yii::t('app', 'Is Internal'),
77
            'hidden_group_title' => Yii::t('app', 'Hidden Group Title'),
78
        ];
79
    }
80
81
    /**
82
     * Relation to \app\models\Object

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

@@ 45-55 (lines=11) @@
42
    /**
43
     * @inheritdoc
44
     */
45
    public function attributeLabels()
46
    {
47
        return [
48
            'id' => Yii::t('app', 'ID'),
49
            'name' => Yii::t('app', 'Name'),
50
            'class' => Yii::t('app', 'Class'),
51
            'active' => Yii::t('app', 'Active'),
52
            'checking_class' => Yii::t('app', 'Checking Class'),
53
            'sort_order' => Yii::t('app', 'Sort Order'),
54
        ];
55
    }
56
}
57

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

@@ 46-56 (lines=11) @@
43
    /**
44
     * @inheritdoc
45
     */
46
    public function attributeLabels()
47
    {
48
        return [
49
            'id' => Yii::t('app', 'ID'),
50
            'name' => Yii::t('app', 'Name'),
51
            'sort_field' => Yii::t('app', 'Sort Field'),
52
            'asc_desc' => Yii::t('app', 'Asc Desc'),
53
            'enabled' => Yii::t('app', 'Enabled'),
54
            'sort_order' => Yii::t('app', 'Sort Order'),
55
        ];
56
    }
57
58
    /**
59
     * Returns all enabled sorts as array of rows