(Docs) Normalized existing "virtual" / "magic" methods' descriptions, add missing ones (#19066)

This commit is contained in:
Alexey Rogachev
2021-12-08 15:27:28 +06:00
committed by GitHub
parent 5671a0e176
commit 1e41533789
2 changed files with 4 additions and 4 deletions

View File

@ -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). * 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 hasMany($class, array $link) See [[BaseActiveRecord::hasMany()]] for more info.
* @method ActiveQuery hasOne($class, array $link) see [[BaseActiveRecord::hasOne()]] for more info * @method ActiveQuery hasOne($class, array $link) See [[BaseActiveRecord::hasOne()]] for more info.
* *
* @author Qiang Xue <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
* @author Carsten Brandt <mail@cebe.cc> * @author Carsten Brandt <mail@cebe.cc>

View File

@ -17,8 +17,8 @@ use yii\base\InvalidConfigException;
* @author Carsten Brandt <mail@cebe.cc> * @author Carsten Brandt <mail@cebe.cc>
* @since 2.0 * @since 2.0
* *
* @method ActiveRecordInterface one($db = null) * @method ActiveRecordInterface one($db = null) See [[ActiveQueryInterface::one()]] for more info.
* @method ActiveRecordInterface[] all($db = null) * @method ActiveRecordInterface[] all($db = null) See [[ActiveQueryInterface::all()]] for more info.
* @property ActiveRecord $modelClass * @property ActiveRecord $modelClass
*/ */
trait ActiveRelationTrait trait ActiveRelationTrait