From bdc29982fa72f6eb84db99c30bf45b472bb585dd Mon Sep 17 00:00:00 2001 From: stevekr Date: Fri, 6 Nov 2020 19:13:19 +0200 Subject: [PATCH] Fix @method signatures in ActiveRelationTrait (#18369) --- 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 a5a8cbe0ac..f2c22e125f 100644 --- a/framework/db/ActiveRelationTrait.php +++ b/framework/db/ActiveRelationTrait.php @@ -17,8 +17,8 @@ use yii\base\InvalidConfigException; * @author Carsten Brandt * @since 2.0 * - * @method ActiveRecordInterface one() - * @method ActiveRecordInterface[] all() + * @method ActiveRecordInterface one($db = null) + * @method ActiveRecordInterface[] all($db = null) * @property ActiveRecord $modelClass */ trait ActiveRelationTrait