diff --git a/src/ActiveRecordFactory.php b/src/ActiveRecordFactory.php index aa3fd917b..d4ff33b40 100644 --- a/src/ActiveRecordFactory.php +++ b/src/ActiveRecordFactory.php @@ -20,7 +20,7 @@ public function __construct(private Factory $factory) /** * Allows you to create an active record instance through the factory. * - * @param class-string $arClass active record class. + * @param string $arClass active record class. * @param string $tableName The name of the table associated with this ActiveRecord class, if its empty string the * name will be generated automatically by calling {@see getTableName()} in the active record class. * @param ConnectionInterface|null $db the database connection used for creating active record instances. @@ -34,7 +34,7 @@ public function __construct(private Factory $factory) * @psalm-template T * @psalm-param class-string $arClass * @psalm-return T - * @psalm-suppress LessSpecificReturnStatement + * @psalm-suppress ActiveRecordInterface */ public function createAR( string $arClass,