From 443b99dd3b434f2d75bcbdc90a26b1ab6922f18b Mon Sep 17 00:00:00 2001 From: Biki-das Date: Tue, 5 Oct 2021 13:29:59 +0530 Subject: [PATCH] docs improvment --- framework/db/ActiveRelationTrait.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/db/ActiveRelationTrait.php b/framework/db/ActiveRelationTrait.php index 461ea759cc2..8f2a6e44289 100644 --- a/framework/db/ActiveRelationTrait.php +++ b/framework/db/ActiveRelationTrait.php @@ -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) @@ -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. */