From ff9f10109f0c89180a5f6fe25dcaee22bccf16b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A1=8C=E9=A3=8E?= Date: Wed, 3 Jan 2024 10:13:25 +0800 Subject: [PATCH] Update src/BaseActiveRecord.php Co-authored-by: Sergei Tigrov --- src/BaseActiveRecord.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 {