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 ff9f101 commit 801b80a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BaseActiveRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ public function hasAttribute($name): bool
*
* Call methods declared in {@see ActiveQuery} to further customize the relation.
*
* @param class-string<T> $class The class name of the related record
* @param string $class The class name of the related record
* @param array $link The primary-foreign key constraint. The keys of the array refer to the attributes of the
* record associated with the `$class` model, while the values of the array refer to the corresponding attributes in
* **this** AR class.
Expand Down

0 comments on commit 801b80a

Please sign in to comment.