Skip to content

Commit

Permalink
Update src/BaseActiveRecord.php
Browse files Browse the repository at this point in the history
Co-authored-by: Sergei Tigrov <[email protected]>
  • Loading branch information
niqingyang and Tigrov authored Jan 3, 2024
1 parent 380e4dc commit 80b1a83
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/BaseActiveRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -375,11 +375,7 @@ public function hasOne(string $class, array $link): ActiveQueryInterface
}

/**
* @param class-string<T> $arClass
* @return ActiveQueryInterface
*
* @psalm-template T of ActiveRecordInterface
* @psalm-param class-string<T> $arClass
* @psalm-param class-string<ActiveRecordInterface> $arClass
*/
public function instantiateQuery(string $arClass): ActiveQueryInterface
{
Expand Down

0 comments on commit 80b1a83

Please sign in to comment.