Skip to content

Commit

Permalink
(Docs) Normalized existing "virtual" / "magic" methods' descriptions,…
Browse files Browse the repository at this point in the history
… add missing ones (#19066)
  • Loading branch information
arogachev committed Dec 8, 2021
1 parent 5671a0e commit 1e41533
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions framework/db/ActiveRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
*
* 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 <qiang.xue@gmail.com>
* @author Carsten Brandt <mail@cebe.cc>
Expand Down
4 changes: 2 additions & 2 deletions framework/db/ActiveRelationTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @author Carsten Brandt <mail@cebe.cc>
* @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
Expand Down

0 comments on commit 1e41533

Please sign in to comment.