docs improvment (#18935)

This commit is contained in:
BIKI DAS
2021-10-05 13:43:33 +05:30
committed by GitHub
parent bb24645fe8
commit 14a28ab4f4

View File

@ -167,7 +167,7 @@ trait ActiveRelationTrait
/** /**
* Finds the related records for the specified primary record. * Finds the related records for the specified primary record.
* This method is invoked when a relation of an ActiveRecord is being accessed in a lazy fashion. * This method is invoked when a relation of an ActiveRecord is being accessed lazily.
* @param string $name the relation name * @param string $name the relation name
* @param ActiveRecordInterface|BaseActiveRecord $model the primary model * @param ActiveRecordInterface|BaseActiveRecord $model the primary model
* @return mixed the related record(s) * @return mixed the related record(s)
@ -589,7 +589,7 @@ trait ActiveRelationTrait
} }
/** /**
* @param mixed $value raw key value. Since 2.0.40 non-string values must be convertable to string (like special * @param mixed $value raw key value. Since 2.0.40 non-string values must be convertible to string (like special
* objects for cross-DBMS relations, for example: `|MongoId`). * objects for cross-DBMS relations, for example: `|MongoId`).
* @return string normalized key value. * @return string normalized key value.
*/ */