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