diff --git a/src/BaseActiveRecord.php b/src/BaseActiveRecord.php index edd62910c..e0b445d8e 100644 --- a/src/BaseActiveRecord.php +++ b/src/BaseActiveRecord.php @@ -359,7 +359,7 @@ public function hasMany(string $class, array $link): ActiveQueryInterface * * 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.