diff --git a/src/BaseActiveRecord.php b/src/BaseActiveRecord.php index e0e0d243a..e4ef42811 100644 --- a/src/BaseActiveRecord.php +++ b/src/BaseActiveRecord.php @@ -320,7 +320,7 @@ public function hasAttribute($name): bool * * Call methods declared in {@see ActiveQuery} to further customize the relation. * - * @param class-string $class The class name of the related record + * @param string $class The class name of the related record * @param array $link The primary-foreign key constraint. The keys of the array refer to the attributes of the * record associated with the `$class` model, while the values of the array refer to the corresponding attributes in * **this** AR class.