diff --git a/framework/db/ActiveRecord.php b/framework/db/ActiveRecord.php index face7132b76..7268f741427 100644 --- a/framework/db/ActiveRecord.php +++ b/framework/db/ActiveRecord.php @@ -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 * @author Carsten Brandt diff --git a/framework/db/ActiveRelationTrait.php b/framework/db/ActiveRelationTrait.php index 8f2a6e44289..0e0b5f20249 100644 --- a/framework/db/ActiveRelationTrait.php +++ b/framework/db/ActiveRelationTrait.php @@ -17,8 +17,8 @@ * @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