From 1e41533789d29d0d766ee63d421e0316022d38a4 Mon Sep 17 00:00:00 2001 From: Alexey Rogachev Date: Wed, 8 Dec 2021 15:27:28 +0600 Subject: [PATCH] (Docs) Normalized existing "virtual" / "magic" methods' descriptions, add missing ones (#19066) --- framework/db/ActiveRecord.php | 4 ++-- framework/db/ActiveRelationTrait.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/framework/db/ActiveRecord.php b/framework/db/ActiveRecord.php index face713..7268f74 100644 --- a/framework/db/ActiveRecord.php +++ b/framework/db/ActiveRecord.php @@ -70,8 +70,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($class, array $link) see [[BaseActiveRecord::hasMany()]] for more info - * @method ActiveQuery hasOne($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 diff --git a/framework/db/ActiveRelationTrait.php b/framework/db/ActiveRelationTrait.php index 8f2a6e4..0e0b5f2 100644 --- a/framework/db/ActiveRelationTrait.php +++ b/framework/db/ActiveRelationTrait.php @@ -17,8 +17,8 @@ use yii\base\InvalidConfigException; * @author Carsten Brandt * @since 2.0 * - * @method ActiveRecordInterface one($db = null) - * @method ActiveRecordInterface[] all($db = null) + * @method ActiveRecordInterface one($db = null) See [[ActiveQueryInterface::one()]] for more info. + * @method ActiveRecordInterface[] all($db = null) See [[ActiveQueryInterface::all()]] for more info. * @property ActiveRecord $modelClass */ trait ActiveRelationTrait