Browse Source

docs improvment (#18935)

tags/2.0.44
BIKI DAS 3 years ago committed by GitHub
parent
commit
14a28ab4f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      framework/db/ActiveRelationTrait.php

4
framework/db/ActiveRelationTrait.php

@ -167,7 +167,7 @@ trait ActiveRelationTrait
/**
* 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 ActiveRecordInterface|BaseActiveRecord $model the primary model
* @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`).
* @return string normalized key value.
*/

Loading…
Cancel
Save