diff --git a/src/ActiveQuery.php b/src/ActiveQuery.php index 651ae80aa..23ea9ea53 100644 --- a/src/ActiveQuery.php +++ b/src/ActiveQuery.php @@ -108,13 +108,7 @@ class ActiveQuery extends Query implements ActiveQueryInterface private ActiveRecordInterface|null $arInstance = null; /** - * @param string $arClass - * @param ConnectionInterface $db - * @param ActiveRecordFactory|null $arFactory - * @param string $tableName - * - * @psalm-template T of ActiveRecordInterface - * @psalm-param class-string $arClass + * @psalm-param class-string $arClass */ final public function __construct( protected string $arClass, diff --git a/src/BaseActiveRecord.php b/src/BaseActiveRecord.php index e4ef42811..c3e2a751a 100644 --- a/src/BaseActiveRecord.php +++ b/src/BaseActiveRecord.php @@ -327,7 +327,7 @@ public function hasAttribute($name): bool * * @return ActiveQueryInterface The relational query object. * - * @psalm-param class-string $arClass + * @psalm-param class-string $class */ public function hasMany(string $class, array $link): ActiveQueryInterface { @@ -365,7 +365,7 @@ public function hasMany(string $class, array $link): ActiveQueryInterface * * @return ActiveQueryInterface The relational query object. * - * @psalm-param class-string $arClass + * @psalm-param class-string $class */ public function hasOne(string $class, array $link): ActiveQueryInterface {