Code Duplication    Length = 12-12 lines in 2 locations

modules/feedback/models/Feedback.php 1 location

@@ 52-63 (lines=12) @@
49
    /**
50
     * @inheritdoc
51
     */
52
    public function attributeLabels()
53
    {
54
        return [
55
            'id' => Yii::t('feedback', 'ID'),
56
            'name' => Yii::t('feedback', 'Name'),
57
            'email' => Yii::t('feedback', 'Email'),
58
            'message' => Yii::t('feedback', 'Message'),
59
            'status' => Yii::t('feedback', 'Status'),
60
            'created_at' => Yii::t('feedback', 'Created At'),
61
            'updated_at' => Yii::t('feedback', 'Updated At'),
62
        ];
63
    }
64
}
65

modules/page/models/Page.php 1 location

@@ 63-74 (lines=12) @@
60
    /**
61
     * @inheritdoc
62
     */
63
    public function attributeLabels()
64
    {
65
        return [
66
            'id' => Yii::t('page', 'ID'),
67
            'key' => Yii::t('page', 'Key'),
68
            'title' => Yii::t('page', 'Title'),
69
            'content' => Yii::t('page', 'Content'),
70
            'description' => Yii::t('page', 'Description'),
71
            'created_at' => Yii::t('page', 'Created At'),
72
            'updated_at' => Yii::t('page', 'Updated At'),
73
        ];
74
    }
75
76
    /**
77
     * Find page by key