Remove deprecated method className() for branch 2.2. (#19894)

This commit is contained in:
Wilmer Arambula
2023-07-16 09:45:39 -04:00
committed by GitHub
parent 9a5e2a5403
commit c9c100acd7
142 changed files with 518 additions and 526 deletions

View File

@@ -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']);
}
}