From 5044c91a6013ceef80ffec3488ac997ed866834d Mon Sep 17 00:00:00 2001 From: niqingyang Date: Tue, 19 Dec 2023 21:48:46 +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/ActiveRecordFactory.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ActiveRecordFactory.php b/src/ActiveRecordFactory.php index 83635a038..8426fa7e4 100644 --- a/src/ActiveRecordFactory.php +++ b/src/ActiveRecordFactory.php @@ -33,6 +33,7 @@ public function __construct(private Factory $factory) * @psalm-template T * @psalm-param class-string $arClass * @psalm-return T + * @psalm-suppress T */ public function createAR( string $arClass,