Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

framework/db/ActiveRelationTrait.php -------> improved docs #18935

Merged
merged 1 commit into from
Oct 5, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions framework/db/ActiveRelationTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public function inverseOf($relationName)

/**
* 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)
Expand Down Expand Up @@ -589,7 +589,7 @@ private function getModelKey($model, $attributes)
}

/**
* @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.
*/
Expand Down