This commit is contained in:
apuc committed 2019-06-22 22:17:08 +03:00
1 parent 0727013ddd
commit f343677f95
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ class UseField extends \yii\db\ActiveRecord
return [
[['field_id', 'use'], 'required'],
[['field_id', 'use'], 'integer'],
[['field_id'], 'exist', 'skipOnError' => true, 'targetClass' => AdditionalFields::className(), 'targetAttribute' => ['field_id' => 'id']],
[['field_id'], 'exist', 'skipOnError' => true, 'targetClass' => AdditionalFields::class, 'targetAttribute' => ['field_id' => 'id']],
];
}
+1 -1
View File
@@ -14,7 +14,7 @@
},
"minimum-stability": "stable",
"require": {
"php": ">=5.4.0",
"php": ">=7.1.0",
"yiisoft/yii2": "~2.0.6",
"yiisoft/yii2-bootstrap": "~2.0.0",
"yiisoft/yii2-swiftmailer": "~2.0.0 || ~2.1.0",