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