From 80b1a83f521b1d9c05bb0837124f64aadbbced87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A1=8C=E9=A3=8E?= Date: Wed, 3 Jan 2024 10:13:12 +0800 Subject: [PATCH] Update src/BaseActiveRecord.php Co-authored-by: Sergei Tigrov --- src/BaseActiveRecord.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/BaseActiveRecord.php b/src/BaseActiveRecord.php index e3b91afe8..8d19783cd 100644 --- a/src/BaseActiveRecord.php +++ b/src/BaseActiveRecord.php @@ -375,11 +375,7 @@ public function hasOne(string $class, array $link): ActiveQueryInterface } /** - * @param class-string $arClass - * @return ActiveQueryInterface - * - * @psalm-template T of ActiveRecordInterface - * @psalm-param class-string $arClass + * @psalm-param class-string $arClass */ public function instantiateQuery(string $arClass): ActiveQueryInterface {