diff --git a/src/BaseActiveRecord.php b/src/BaseActiveRecord.php index b892a2896..e0e0d243a 100644 --- a/src/BaseActiveRecord.php +++ b/src/BaseActiveRecord.php @@ -327,8 +327,7 @@ public function hasAttribute($name): bool * * @return ActiveQueryInterface The relational query object. * - * @psalm-template T of ActiveRecordInterface - * @psalm-param class-string $arClass + * @psalm-param class-string $arClass */ public function hasMany(string $class, array $link): ActiveQueryInterface {