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