From 236c7af8db210f595f7f5628b73891b631ba0930 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A1=8C=E9=A3=8E?= Date: Wed, 3 Jan 2024 10:12:47 +0800 Subject: [PATCH] Update src/BaseActiveRecord.php Co-authored-by: Sergei Tigrov --- src/BaseActiveRecord.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BaseActiveRecord.php b/src/BaseActiveRecord.php index edd62910c..e0b445d8e 100644 --- a/src/BaseActiveRecord.php +++ b/src/BaseActiveRecord.php @@ -359,7 +359,7 @@ public function hasMany(string $class, array $link): ActiveQueryInterface * * Call methods declared in {@see ActiveQuery} to further customize the relation. * - * @param class-string $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.