mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-15 03:38:01 +01:00
Remove deprecated method className() for branch 2.2. (#19894)
This commit is contained in:
@@ -20,6 +20,6 @@ class ValidatorTestMainModel extends ActiveRecord
|
||||
|
||||
public function getReferences()
|
||||
{
|
||||
return $this->hasMany(ValidatorTestRefModel::className(), ['ref' => 'id']);
|
||||
return $this->hasMany(ValidatorTestRefModel::class, ['ref' => 'id']);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user