mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-05 15:04:38 +01:00
Use ::class instead of ::className() in tests. (#20612)
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