Code Duplication    Length = 11-11 lines in 3 locations

models/Contact.php 1 location

@@ 68-78 (lines=11) @@
65
    /**
66
     * {@inheritdoc}
67
     */
68
    public function attributeLabels()
69
    {
70
        return [
71
            'id' => 'ID',
72
            'default' => Yii::t('app', 'Default'),
73
            'created_at' => Yii::t('app', 'Created date'),
74
            'updated_at' => Yii::t('app', 'Updated date'),
75
            'mapQ' => Yii::t('contacts', 'Map place'),
76
            'mapZoom' => Yii::t('contacts', 'Map zoom'),
77
        ];
78
    }
79
80
    /**
81
     * Returns the default contacts record.

models/QualityLanguage.php 1 location

@@ 111-121 (lines=11) @@
108
    /**
109
     * {@inheritdoc}
110
     */
111
    public function attributeLabels()
112
    {
113
        return [
114
            'qualities_id' => 'Qualities ID',
115
            'language_id' => 'Language ID',
116
            'title' => Yii::t('app', 'Title'),
117
            'description' => Yii::t('app', 'Description'),
118
            'created_at' => Yii::t('app', 'Created date'),
119
            'updated_at' => Yii::t('app', 'Updated date'),
120
        ];
121
    }
122
123
    /**
124
     * @return \yii\db\ActiveQuery

models/Social.php 1 location

@@ 90-100 (lines=11) @@
87
    /**
88
     * {@inheritdoc}
89
     */
90
    public function attributeLabels()
91
    {
92
        return [
93
            'id' => 'ID',
94
            'icon' => Yii::t('app', 'Icon html class'),
95
            'url' => Yii::t('social', 'Url'),
96
            'contacts' => Yii::t('contacts', 'Contacts'),
97
            'created_at' => Yii::t('app', 'Created date'),
98
            'updated_at' => Yii::t('app', 'Updated date'),
99
        ];
100
    }
101
102
    /**
103
     * @return array