diff --git a/framework/db/ActiveRecord.php b/framework/db/ActiveRecord.php index 322796c3dc..92f742c6cc 100644 --- a/framework/db/ActiveRecord.php +++ b/framework/db/ActiveRecord.php @@ -69,8 +69,8 @@ use yii\helpers\StringHelper; * * For more details and usage information on ActiveRecord, see the [guide article on ActiveRecord](guide:db-active-record). * - * @method ActiveQuery hasMany(string $class, array $link) see BaseActiveRecord::hasMany() for more info - * @method ActiveQuery hasOne(string $class, array $link) see BaseActiveRecord::hasOne() for more info + * @method ActiveQuery hasMany($class, array $link) see [[BaseActiveRecord::hasMany()]] for more info + * @method ActiveQuery hasOne($class, array $link) see [[BaseActiveRecord::hasOne()]] for more info * * @author Qiang Xue * @author Carsten Brandt