diff --git a/framework/db/ActiveRecord.php b/framework/db/ActiveRecord.php index bb9463aea7..324ab1b7c1 100644 --- a/framework/db/ActiveRecord.php +++ b/framework/db/ActiveRecord.php @@ -69,6 +69,9 @@ use yii\helpers\StringHelper; * * For more details and usage information on ActiveRecord, see the [guide article on ActiveRecord][guide-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 + * * @author Qiang Xue * @author Carsten Brandt * @since 2.0