From f3158ebad2a3dbe6794ef5a514d22f567eb3b443 Mon Sep 17 00:00:00 2001 From: niqingyang Date: Tue, 2 Jan 2024 17:18:43 +0800 Subject: [PATCH] Update the comments of the method createQueryTo in ActiveRecordFactory so that the IDE can automatically identify the specific class of ActiveRecord --- src/ActiveQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ActiveQuery.php b/src/ActiveQuery.php index 651ae80aa..be08d20b7 100644 --- a/src/ActiveQuery.php +++ b/src/ActiveQuery.php @@ -108,7 +108,7 @@ class ActiveQuery extends Query implements ActiveQueryInterface private ActiveRecordInterface|null $arInstance = null; /** - * @param string $arClass + * @param class-string $arClass * @param ConnectionInterface $db * @param ActiveRecordFactory|null $arFactory * @param string $tableName